Statusing.ReadAssignmentsForDelegation Method
Gets a filtered list of assignments that the current user is able to delegate.
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/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: [Statusing Web service].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: [Statusing Web service].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. |