ReportingService2010.GetUserModel(String, String) メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
現在のユーザーにモデルのセマンティックな部分を返します。
public:
cli::array <System::Byte> ^ GetUserModel(System::String ^ Model, System::String ^ Perspective);
[System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetUserModel", 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 byte[] GetUserModel(string Model, string Perspective);
[<System.Web.Services.Protocols.SoapDocumentMethod("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetUserModel", 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.GetUserModel : string * string -> byte[]
Public Function GetUserModel (Model As String, Perspective As String) As Byte()
パラメーター
- Model
- String
モデルの完全限定URLとファイル名および.smdlの拡張子を含みます。
- Perspective
- String
レポートモデルから取得する視点のIDです。
返品
Byte[]
ユーザーが権限を持つモデルの意味的部分のSMDLモデル定義を含むバイト配列です。 このデータ型の詳細については、Microsoft .NET Frameworkのドキュメントにある「バイト構造」をご覧ください。
- 属性
注釈
以下の表は、この操作のヘッダーおよび権限情報を示しています。
| SOAPヘッダーの使用 | (イン) TrustedUserHeaderValue (アウト) ServerInfoHeaderValue |
| ネイティブモードの必要権限 | ReadProperties |
| SharePointモードの必要権限 | <xref:Microsoft.SharePoint.SPBasePermissions.ViewListItems> |
返されるモデル定義は、ユーザーが閲覧または使用する権限を持つモデルの意味的部分に限定されます。
Perspectiveが提供されると、返されるユーザーモデルはその視点でユーザーが見る権限を持つモデル項目のみを反映します。