ReportingService2006.GetPolicies Method
Returns the policies that are associated with a particular item in a SharePoint library.
Assembly: ReportService2006 (in ReportService2006.dll)
[SoapHeaderAttribute("TrustedUserHeaderValue")] [SoapDocumentMethodAttribute("http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices/GetPolicies", RequestNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", ResponseNamespace = "http://schemas.microsoft.com/sqlserver/2006/03/15/reporting/reportingservices", Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)] [SoapHeaderAttribute("ServerInfoHeaderValue", Direction = SoapHeaderDirection.Out)] public Policy[] GetPolicies( string Item, out bool InheritParent )
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: ReportService2006.Policy[]An array of Policy objects that contains the users and roles associated with the item.
The table below shows header and permissions information on this operation.
SOAP Headers | (Out) ServerInfoHeaderValue |
Required Permissions | EnumeratePermissions() |
