Statusing.ReadAssignmentsForDelegation Method
Gets a filtered list of assignments that the current user is able to delegate.
Namespace: WebSvcStatusing
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Statusing/", _
ResponseNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Statusing/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadAssignmentsForDelegation ( _
filter As DelegationFilterType, _
filterParameter As Guid _
) As DelegationDataSet
'Usage
Dim instance As Statusing
Dim filter As DelegationFilterType
Dim filterParameter As Guid
Dim returnValue As DelegationDataSet
returnValue = instance.ReadAssignmentsForDelegation(filter, _
filterParameter)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Statusing/",
ResponseNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Statusing/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public DelegationDataSet ReadAssignmentsForDelegation(
DelegationFilterType filter,
Guid filterParameter
)
Parameters
- filter
Type: WebSvcStatusing.DelegationFilterType
A DelegationFilterType filter.
- filterParameter
Type: System.Guid
Contains the unique ID of the assignment if the SingleAssignment filter is specified, or the unique ID of the project if the Project filter is selected.
Return Value
Type: WebSvcStatusing.DelegationDataSet
A DelegationDataSet object with the assignments this user is able to delegate.
Remarks
This method reads data for only the current logged-on resource.
Project Server Permissions
Permission |
Description |
---|---|
Assign resources to tasks. Global permission. |
|
Assign tasks to the current user if the current user's team is the assignment owner. Applies only if user does not have ReassignTask permission. Global permission. |