Метод 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.GuidGUID категории безопасности.
Возвращаемое значение
Тип: WebSvcSecurity.SecurityCategoriesDataSet
Возвращает сведения о категории безопасности, включая имя, описание, пользователей и групп в категории, проекты и параметры правила динамических проекта для категории, ресурсы, которые могут просматривать пользователи в категории и параметры правил динамических ресурсов.
Замечания
Разрешения Project Server
Разрешение |
Описание |
---|---|
Позволяет пользователю управлять безопасности сервера Project Server. Глобальное разрешение. |