Statusing.ReadAssignmentsForDelegation method
Gets a filtered list of assignments that the current user is able to delegate.
Namespace: WebSvcStatusing
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", 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 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("https://schemas.microsoft.com/office/project/server/webservices/Statusing/ReadAssignmentsForDelegation", 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 DelegationDataSet ReadAssignmentsForDelegation(
DelegationFilterType filter,
Guid filterParameter
)
Parameters
filter
Type: WebSvcStatusing.DelegationFilterTypeA DelegationFilterType filter.
filterParameter
Type: System.GuidContains 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 |
---|---|
Allows the user to assign resources to tasks. Global permission. |
|
Allows the user to 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. |