Share via


Resource.ReadDelegation Method

Reads the delegation information for a specified resource.

Namespace:  [Resource Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Resource.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Resource.asmx?wsdl

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Resource/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Resource/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadDelegation ( _
    delegationUid As Guid _
) As UserDelegationDataSet
'Usage
Dim instance As Resource
Dim delegationUid As Guid
Dim returnValue As UserDelegationDataSet

returnValue = instance.ReadDelegation(delegationUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Resource/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public UserDelegationDataSet ReadDelegation(
    Guid delegationUid
)

Parameters

Return Value

Type: [Resource Web service].UserDelegationDataSet
Returns UserDelegationDataSet.

Remarks

New method in Project Server 2010.

Project Server Permissions

Permission

Description

ManageMyDelegations

Allows a user to manage his or her own user delegations.

ManageMyResourceDelegations

Allows a user to manage his or her own resource delegations.

See Also

Reference

Resource Class

Resource Members

Resource Web Service