共用方式為


Security.ReadGroupList 方法

在 Project Server 中取得所有安全性群組的資訊。

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

語法

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

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

傳回值

類型:WebSvcSecurity.SecurityGroupsDataSet
名稱和安全性的所有群組的 Guid。

備註

Project Server 權限

權限

描述

ManageSecurity

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

ManageUsersAndGroups

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

請參閱

參照

Security 類別

Security 成員

WebSvcSecurity 命名空間