Security.ReadProjectCategory 方法

读取 web 安全的项目类别信息。

命名空间:  WebSvcSecurity
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadProjectCategory", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Security/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function ReadProjectCategory ( _
    projUid As Guid _
) As SecurityProjectCategoriesDataSet
用法
Dim instance As Security
Dim projUid As Guid
Dim returnValue As SecurityProjectCategoriesDataSet

returnValue = instance.ReadProjectCategory(projUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadProjectCategory", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Security/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public SecurityProjectCategoriesDataSet ReadProjectCategory(
    Guid projUid
)

参数

返回值

类型:WebSvcSecurity.SecurityProjectCategoriesDataSet

备注

项目权限功能允许用户或组已授予"管理基本项目安全性"类别权限授予用户和组访问他们所拥有的项目。它们的功能类似安全类别。有关详细信息,请参阅https://blogs.msdn.com/b/project/archive/2010/03/04/project-2010-project-permissions.aspx

代码示例,请参阅CreateProjectCategories

Project Server 权限

权限

说明

非标准

您必须具有ManageWorkflow全局 pemission 或ChangeWorkflow全局权限。如果您有ChangeWorkflow权限,您还必须具有OpenProject类别权限和SaveProject类别权限。

另请参阅

引用

Security 类

Security 成员

WebSvcSecurity 命名空间