Security.ReadTemplateList 方法

获取有关所有安全模板的信息。

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

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadTemplateList", 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 ReadTemplateList As SecurityTemplatesDataSet
用法
Dim instance As Security
Dim returnValue As SecurityTemplatesDataSet

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

返回值

类型:WebSvcSecurity.SecurityTemplatesDataSet
指定的名称和所有安全模板的唯一标识符。

备注

Project Server 权限

权限

说明

ManageSecurity

允许用户管理 Project Server 安全性。全局权限。

ManageUsersAndGroups

允许用户管理 Project Server 用户和组。全局权限。

另请参阅

引用

Security 类

Security 成员

WebSvcSecurity 命名空间