Security.ReadCategory 方法
會取得指定的安全性類別的相關資訊。
命名空間: WebSvcSecurity
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadCategory", 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 ReadCategory ( _
categoryUid As Guid _
) As SecurityCategoriesDataSet
'用途
Dim instance As Security
Dim categoryUid As Guid
Dim returnValue As SecurityCategoriesDataSet
returnValue = instance.ReadCategory(categoryUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/ReadCategory", 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 ReadCategory(
Guid categoryUid
)
參數
categoryUid
類型:System.Guid安全性類別的 GUID。
傳回值
類型:WebSvcSecurity.SecurityCategoriesDataSet
會傳回安全性類別,包括名稱、 描述、 使用者及群組中的類別、 專案和類別、 資源的類別中的使用者可以檢視,以及動態資源規則設定動態專案規則設定的相關資訊。
備註
Project Server 權限
權限 |
描述 |
---|---|
可讓使用者管理 Project Server 安全性。通用權限。 |