Security.ReadTemplate 方法
获取有关指定的安全模板的信息。
命名空间: WebSvcSecurity
程序集: ProjectServerServices(位于 ProjectServerServices.dll 中)
语法
声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadTemplate", 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 ReadTemplate ( _
templateUid As Guid _
) As SecurityTemplatesDataSet
用法
Dim instance As Security
Dim templateUid As Guid
Dim returnValue As SecurityTemplatesDataSet
returnValue = instance.ReadTemplate(templateUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadTemplate", 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 ReadTemplate(
Guid templateUid
)
参数
templateUid
类型:System.Guid指示指定的安全模板的唯一标识符。
返回值
类型:WebSvcSecurity.SecurityTemplatesDataSet
返回中的安全模板的名称、 说明和信息类别和全局权限。
备注
Project Server 权限
权限 |
说明 |
---|---|
允许用户管理 Project Server 安全性。全局权限。 |
|
允许用户管理 Project Server 用户和组。全局权限。 |