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


ReportingService2010.GetRoleProperties(String, String, String) Метод

Определение

Возвращает сведения о роли и набор связанных задач.

public:
 cli::array <System::String ^> ^ GetRoleProperties(System::String ^ Name, System::String ^ SiteUrl, [Runtime::InteropServices::Out] System::String ^ % Description);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
[System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
public string[] GetRoleProperties (string Name, string SiteUrl, out string Description);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetRoleProperties", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, RequestNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", ResponseNamespace="http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer", Use=System.Web.Services.Description.SoapBindingUse.Literal)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
[<System.Web.Services.Protocols.SoapHeader("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
member this.GetRoleProperties : string * string * string -> string[]
Public Function GetRoleProperties (Name As String, SiteUrl As String, ByRef Description As String) As String()

Параметры

Name
String

Имя роли.

SiteUrl
String

Полный URL-адрес сайта SharePoint.

Если данный метод вызывается в собственном режиме, установите этот параметр в значение null (Nothing в Visual Basic).

Description
String

[out] Описание роли.

Возвращаемое значение

String[]

Массив String, представляющий сведения о роли.

Атрибуты

Комментарии

В следующей таблице показаны сведения о заголовках и разрешениях для этой операции.

Использование заголовка SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Необходимые разрешения в собственном режиме ReadRoleProperties (Система)
Необходимые разрешения в режиме Интеграции с SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

Этот метод вызывает исключение, rsUnsupportedParameterForModeException если для параметра в собственном режиме указано значение, отличное SiteUrl от NULL.

Применяется к