Condividi tramite


Resource.ReadDelegations Method

Reads the delegation information used to manage resources.

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/ReadDelegations", 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 ReadDelegations ( _
    filter As DelegationFilter, _
    resUid As Guid _
) As UserDelegationDataSet
'Usage
Dim instance As Resource
Dim filter As DelegationFilter
Dim resUid As Guid
Dim returnValue As UserDelegationDataSet

returnValue = instance.ReadDelegations(filter, _
    resUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/ReadDelegations", 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 ReadDelegations(
    DelegationFilter filter,
    Guid resUid
)

Parameters

Return Value

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

Remarks

New method in Project Server 2010.

Project Server Permissions

Permission

Description

Non-standard

You must have either the ManageWorkflow or ChangeWorkflow global permission. If you have ChangeWorkflow permission, you must also have both the OpenProject and SaveProject category permissions.

See Also

Reference

Resource Class

Resource Members

Resource Web Service