Share via


ReportingService2005.GetModelItemPermissions(String, String) Method

Definition

Retrieves the user permissions associated with an item in the model hierarchy.

public:
 cli::array <System::String ^> ^ GetModelItemPermissions(System::String ^ Model, System::String ^ ModelItemID);
public string[] GetModelItemPermissions (string Model, string ModelItemID);
member this.GetModelItemPermissions : string * string -> string[]
Public Function GetModelItemPermissions (Model As String, ModelItemID As String) As String()

Parameters

Model
String

The full name of the model.

ModelItemID
String

The ID of the item in the model. If omitted, the permissions for the model root are returned.

Returns

String[]

A String array that contains the list of permissions on the item.

Remarks

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

SOAP Headers (Out) ServerInfoHeaderValue
Required Permissions ReadProperties

The permissions returned are associated with tasks assigned to the roles in which the user is a member.

Applies to