Compartir a través de


Statusing.DelegateAssignments Method

Delegates one or more assignments to another resource.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DelegateAssignments", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Statusing/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub DelegateAssignments ( _
    assignmentDataSet As DelegationDataSet, _
    startDate As DateTime, _
    comment As String _
)
'Usage
Dim instance As Statusing
Dim assignmentDataSet As DelegationDataSet
Dim startDate As DateTime
Dim comment As String

instance.DelegateAssignments(assignmentDataSet, _
    startDate, comment)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/DelegateAssignments", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Statusing/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void DelegateAssignments(
    DelegationDataSet assignmentDataSet,
    DateTime startDate,
    string comment
)

Parameters

  • startDate
    Type: System.DateTime
    When the resource will start on this assignment.
  • comment
    Type: System.String
    Comment to send with e-mailed change notifications.

Remarks

The target resource for the delegation must be an enterprise resource.

Notification does not support team delegations.

Project Server Permissions

Permission

Description

ReassignTask

Allows the user to assign resources to tasks. Global permission.

SelfAssignTeamTasks

Allows the user to assign tasks to the current user if the team of the current owns the assignment. Applies only if user does not have ReassignTask permission. Global permission.

See Also

Reference

Statusing Class

Statusing Members

Statusing Web Service