Share via


ReportingService2005.SetPolicies(String, Policy[]) Method

Definition

Sets the policies that are associated with a specified item.

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

Parameters

Item
String

The full path name of the item.

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) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions Depends on the item type:

- Folder: UpdateDeleteAuthorizationPolicy
- Report: UpdateDeleteAuthorizationPolicy
- Resource: UpdateDeleteAuthorizationPolicy
- DataSource: UpdateDeleteAuthorizationPolicy
- Model: UpdateDeleteAuthorizationPolicy

Applies to