Поделиться через


Метод 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