Statusing.ReadAssignmentsForDelegation 方法
获取当前用户是能够委派的分配已筛选的列表。
命名空间: WebSvcStatusing
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<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
用法
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
)
参数
filter
类型:WebSvcStatusing.DelegationFilterType
filterParameter
类型:System.Guid如果选择Project筛选包含指定SingleAssignment筛选器,如果工作分配的唯一 ID 或项目的唯一 ID。
返回值
类型:WebSvcStatusing.DelegationDataSet
一个DelegationDataSet分配此用户是能够委派。
备注
此方法读取仅当前登录的资源的数据。
Project Server 权限
权限 |
说明 |
---|---|
允许用户为任务分配资源。全局权限。 |
|
允许用户将任务分配给当前用户,如果当前用户的工作组工作分配所有者。用户不具有ReassignTask权限时才适用。全局权限。 |