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 權限
權限 |
描述 |
---|---|
可讓使用者管理 Project Server 安全性。通用權限。 |
|
可讓使用者管理 Project Server 使用者和群組。通用權限。 |