Share via


ReportingService2005.InheritParentSecurity(String) Method

Definition

Deletes the policies associated with an item. As a result, the item inherits the policies from its parent.

public:
 void InheritParentSecurity(System::String ^ Item);
public void InheritParentSecurity (string Item);
member this.InheritParentSecurity : string -> unit
Public Sub InheritParentSecurity (Item As String)

Parameters

Item
String

The full path name of the 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

When you delete the policies that are associated with an item, the item inherits the policies that are associated with its parent. Policies that are deleted from an item are also deleted from child items that inherit those policies.

Policies cannot be deleted from the root folder in the report server database. Attempts to delete policies associated with the root folder in the report server database result in a SOAP exception with the error code rsCannotDeleteRootPolicy.

Applies to