ReportingService2006.GetPolicies(String, Boolean) Method

Definition

Returns the policies that are associated with a particular item in a SharePoint library.

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

Parameters

Item
String

The fully qualified URL of the item including the file name and extension.

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 (In) TrustedUserHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions <xref:Microsoft.SharePoint.SPBasePermissions.EnumeratePermissions>

Applies to