ReportingService2005.GetModelItemPolicies(String, String, Boolean) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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()
- 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.
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.