共用方式為


Security.ReadCategoryList 方法

取得 Project Server 中的所有安全性類別的相關資訊。

命名空間:  WebSvcSecurity
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadCategoryList", 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 ReadCategoryList As SecurityCategoriesDataSet
'用途
Dim instance As Security
Dim returnValue As SecurityCategoriesDataSet

returnValue = instance.ReadCategoryList()
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadCategoryList", 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 SecurityCategoriesDataSet ReadCategoryList()

傳回值

類型:WebSvcSecurity.SecurityCategoriesDataSet
名稱及所有安全性類別的 Guid。

備註

Project Server 權限

權限

描述

ManageSecurity

可讓使用者管理 Project Server 安全性。通用權限。

ManageUsersAndGroups

可讓使用者管理 Project Server 使用者和群組。通用權限。

ManageViews

可讓使用者管理檢視Project Web App中。通用權限。

請參閱

參照

Security 類別

Security 成員

WebSvcSecurity 命名空間