Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ReportingService2005.GetModelItemPolicies Method (String, String, Boolean)

 

Applies To: SQL Server 2016 Preview

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

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

public Policy[] GetModelItemPolicies(
	string Model,
	string ModelItemID,
	out bool InheritParent
)

Parameters

Model
Type: System.String

The full name of the model.

ModelItemID
Type: System.String

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

InheritParent
Type: System.Boolean

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

Return Value

Type: ReportService2005.Policy[]

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

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.

Return to top
Show:
© 2015 Microsoft