ReportingService2006.SetPolicies(String, Policy[]) Method

Definition

Sets the policies that are associated with a specified item.

public:
 void SetPolicies(System::String ^ Item, cli::array <ReportService2006::Policy ^> ^ Policies);
public void SetPolicies (string Item, ReportService2006.Policy[] Policies);
member this.SetPolicies : string * ReportService2006.Policy[] -> unit
Public Sub SetPolicies (Item As String, Policies As Policy())

Parameters

Item
String

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

Policies
Policy[]

An array of Policy objects that contains the groups and roles to set for the specified 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.ManagePermissions>

Applies to