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

Définition

Retourne les informations de rôle et une collection de tâches associées.

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

Paramètres

Name
String

Nom du rôle.

SiteUrl
String

URL complète pour le site SharePoint.

Affectez à ce paramètre une null (Nothing en Visual Basic) lors de l'appel de cette méthode en mode natif.

Description
String

[out] Description du rôle.

Retours

String[]

Tableau String qui représente les informations de rôle.

Attributs

Remarques

Le tableau suivant présente les informations relatives aux en-têtes et aux autorisations sur cette opération.

Utilisation de l’en-tête SOAP (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Autorisations requises en mode natif ReadRoleProperties (Système)
Autorisations requises en mode SharePoint <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

Cette méthode lève une rsUnsupportedParameterForModeException exception si une valeur non null est spécifiée pour le SiteUrl paramètre en mode natif.

S’applique à