Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the policies that are associated with a particular item in a SharePoint library.
Namespace: ReportService2006
Assembly: ReportService2006 (in ReportService2006.dll)
Syntax
'Declaration
Public Function GetPolicies ( _
Item As String, _
<OutAttribute> ByRef InheritParent As Boolean _
) As Policy()
'Usage
Dim instance As ReportingService2006
Dim Item As String
Dim InheritParent As Boolean
Dim returnValue As Policy()
returnValue = instance.GetPolicies(Item, _
InheritParent)
public Policy[] GetPolicies(
string Item,
out bool InheritParent
)
public:
array<Policy^>^ GetPolicies(
String^ Item,
[OutAttribute] bool% InheritParent
)
member GetPolicies :
Item:string *
InheritParent:bool byref -> Policy[]
public function GetPolicies(
Item : String,
InheritParent : boolean
) : Policy[]
Parameters
- Item
Type: System.String
The fully qualified URL of the item including the file name and extension.
- InheritParent
Type: System.Boolean%
A Boolean expression that indicates whether the item inherits policies from its parent.
Return Value
Type: array<ReportService2006.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 |