Linguagem

ReportingService2010.GetRoleProperties(String, String, String) Método

Definição

Retorna informações de função e uma coleção de tarefas associadas.

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()

Parâmetros

Name
String

O nome da função.

SiteUrl
String

A URL totalmente qualificada para o site SharePoint.

Defina esse parâmetro para null (Nothing no Visual Basic) ao invocar esse método no modo Nativo.

Description
String

[fora] A descrição do papel.

Retornos

String[]

Um array String que representa a informação do papel.

Atributos

Comentários

A tabela abaixo mostra informações sobre cabeçalhos e permissões sobre esta operação.

Uso do Cabeçalho SOAP (Em) TrustedUserHeaderValue

(Fora) ServerInfoHeaderValue
Modo Nativo Necessário Permissões ReadRoleProperties (Sistema)
Permissões Necessárias no Modo SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

Esse método lança uma rsUnsupportedParameterForModeException exceção se um valor não nulo for especificado para o SiteUrl parâmetro no modo Nativo.

Aplica-se a