言語

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

SharePointサイトの完全限定URLです。

ネイティブモードでこのメソッドを呼び出す際、このパラメータをnull(Visual BasicではNothing)に設定してください。

Description
String

[アウト]役割の説明。

返品

String[]

役割情報を表す配列 String

属性

注釈

以下の表は、この操作のヘッダーおよび権限情報を示しています。

SOAPヘッダーの使用 (イン) TrustedUserHeaderValue

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 ReadRoleProperties (システム)
SharePointモードの必要権限 <xref:Microsoft.SharePoint.SPBasePermissions.ManagePermissions>

このメソッドは、ネイティブモードでSiteUrlパラメータにnullでない値が指定された場合、rsUnsupportedParameterForModeException例外を投げます。

適用対象