Compartir a través de


Resource.CreateDelegations Method

Creates 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/CreateDelegations", 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 Sub CreateDelegations ( _
    ds As UserDelegationDataSet _
)
'Usage
Dim instance As Resource
Dim ds As UserDelegationDataSet

instance.CreateDelegations(ds)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Resource/CreateDelegations", 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 void CreateDelegations(
    UserDelegationDataSet ds
)

Parameters

Remarks

New method in Project Server 2010.

This method does not return the project GUID and the resource GUID.

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