Метод Security.SetTemplates
Обновляет один или несколько шаблонов безопасности.
Пространство имен: WebSvcSecurity
Сборка: ProjectServerServices (в ProjectServerServices.dll)
Синтаксис
'Декларация
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetTemplates", 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 Sub SetTemplates ( _
templates As SecurityTemplatesDataSet _
)
'Применение
Dim instance As Security
Dim templates As SecurityTemplatesDataSet
instance.SetTemplates(templates)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Security/SetTemplates", 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 void SetTemplates(
SecurityTemplatesDataSet templates
)
Параметры
templates
Тип: WebSvcSecurity.SecurityTemplatesDataSetСодержит данные обновления для одного или нескольких шаблонов безопасности.
Замечания
Разрешения Project Server
Разрешение |
Описание |
---|---|
Позволяет пользователю управлять безопасности сервера Project Server. Глобальное разрешение. |