ReportingService2010.ListRoles(String, String) メソッド

定義

レポートサーバーや特定のSharePointサイト上の役割名や説明を返します。

public:
 cli::array <ReportService2010::Role ^> ^ ListRoles(System::String ^ SecurityScope, System::String ^ SiteUrl);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListRoles", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)]
[System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")]
public ReportService2010.Role[] ListRoles(string SecurityScope, string SiteUrl);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/ListRoles", 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("ServerInfoHeaderValue", Direction=System.Web.Services.Protocols.SoapHeaderDirection.Out)>]
[<System.Web.Services.Protocols.SoapHeader("TrustedUserHeaderValue")>]
member this.ListRoles : string * string -> ReportService2010.Role[]
Public Function ListRoles (SecurityScope As String, SiteUrl As String) As Role()

パラメーター

SecurityScope
String

アイテムが返却するためのセキュリティ範囲。有効なセキュリティスコープについては ListSecurityScopes()を参照してください。

SiteUrl
String

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

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

返品

Role[]

指定されたサイトの役割に関する情報を含む Role オブジェクトの配列で、提供された SecurityScope パラメータでフィルタリングされます。

属性

注釈

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

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

(アウト) ServerInfoHeaderValue
ネイティブモードの必要権限 None
SharePointモードの必要権限 None

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

適用対象