ReportingService2005.GetUserModel Method

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

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

[SoapDocumentMethodAttribute("", RequestNamespace = "", 
	ResponseNamespace = "", 
	Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
[SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)]
public byte[] GetUserModel(
	string Model,
	string Perspective


Type: System.String
Full name of the model for which to retrieve user specific model definition.
Type: System.String
The ID of the perspective for which to retrieve report model.

Return Value

Type: System.Byte[]
A byte array containing the SMDL 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 Headers

(Out) ServerInfoHeaderValue

Required Permissions


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

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

Community Additions