ReportingService2005.GetPolicies(String, Boolean) Method
Definition
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.
Returns the policies that are associated with a particular item in the report server database.
public:
cli::array <ReportService2005::Policy ^> ^ GetPolicies(System::String ^ Item, [Runtime::InteropServices::Out] bool % InheritParent);
public ReportService2005.Policy[] GetPolicies (string Item, out bool InheritParent);
member this.GetPolicies : string * bool -> ReportService2005.Policy[]
Public Function GetPolicies (Item As String, ByRef InheritParent As Boolean) As Policy()
Parameters
- Item
- String
The full path name of the item.
- InheritParent
- Boolean
A Boolean
expression that indicates whether the item inherits policies from its parent.
Returns
Policy[]
An array of Policy objects that contains the users and roles associated with the item.
Remarks
The table below shows header and permissions information on this operation.
SOAP Headers | (Out) ServerInfoHeaderValue |
Required Permissions | Depends on the item type: - Folder : ReadAuthorizationPolicy- Report : ReadAuthorizationPolicy- Resource : ReadAuthorizationPolicy- DataSource : ReadAuthorizationPolicy- Model : ReadAuthorizationPolicy |