ReportingService2010.GetRoleProperties(String, String, String) ReportingService2010.GetRoleProperties(String, String, String) ReportingService2010.GetRoleProperties(String, String, String) Method

Definition

Returns role information and a collection of associated tasks.

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);
Public Function GetRoleProperties (Name As String, SiteUrl As String, ByRef Description As String) As String()
Parameters
Name
String String String

The name of the role.

SiteUrl
String String String

The fully qualified URL for the SharePoint site.

Set this parameter to null (Nothing in Visual Basic) when invoking this method in Native mode.

Description
String String String

[out] The description of the role.

Returns
String[]

An array String that represents the role information.

Remarks

The table below shows header and permissions information on this operation.

SOAP Header Usage (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Native Mode Required Permissions ReadRoleProperties (System)
SharePoint Mode Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

This method throws an rsUnsupportedParameterForModeException exception if a non-null value is specified for the SiteUrl parameter in Native mode.

Applies to