Export (0) Print
Expand All

ReportingService2010.GetUserModel Method (String, String)

 

Applies To: SQL Server 2016 Preview

Returns the semantic piece of a model for the current user.

Namespace:   ReportService2010
Assembly:  ReportService2010 (in ReportService2010.dll)

[<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer/GetUserModel",
    RequestNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
    ResponseNamespace = "http://schemas.microsoft.com/sqlserver/reporting/2010/03/01/ReportServer",
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)>]
[<SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("TrustedUserHeaderValue")>]
member GetUserModel : 
        Model:string *
        Perspective:string -> byte[]

Parameters

Model
Type: System.String

The fully qualified URL of the model including the file name and .smdl file name extension.

Perspective
Type: System.String

The ID of the perspective to retrieve from the report model.

Return Value

Type: System.Byte[]

A byte array that contains an SMDL model definition of the semantic parts of the model to which the user has permission. For more information about this data type, see "Byte Structure" in the Microsoft .NET Framework documentation.

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

SOAP Header Usage

(In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue

Native Mode Required Permissions

ReadProperties

SharePoint Mode Required Permissions

ViewListItems

The model definition that is returned is limited to the semantic parts of the model that the user has permission to view or use.

When Perspective is supplied, the user model returned reflects only the model items the user has permission to see in that perspective.

Return to top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft