ReportingService2005.GetModelItemPolicies(String, String, Boolean) Method

Definition

Retrieves the policies associate with an item in the model hierarchy.

public:
 cli::array <ReportService2005::Policy ^> ^ GetModelItemPolicies(System::String ^ Model, System::String ^ ModelItemID, [Runtime::InteropServices::Out] bool % InheritParent);
public ReportService2005.Policy[] GetModelItemPolicies (string Model, string ModelItemID, out bool InheritParent);
member this.GetModelItemPolicies : string * string * bool -> ReportService2005.Policy[]
Public Function GetModelItemPolicies (Model As String, ModelItemID As String, ByRef InheritParent As Boolean) As Policy()

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.

InheritParent
Boolean

Indicates whether the policies are inherited from the item's parent.

Returns

Policy[]

An array of Policy objects that describes the groups and their roles that are associated with the item in the catalog.

Remarks

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

SOAP Headers (Out) ServerInfoHeaderValue
Required Permissions ReadModelItemAuthorizationPolicies

Groups and users in the security database may be renamed after a policy is created. When the policies are returned from this Web service method, the report server resolves the SIDs to the correct group/user names before returning polices.

Applies to