Share via


ReportingService2005.DeleteRole(String) Method

Definition

Deletes a specified role from the report server database.

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

Parameters

Name
String

The name of the role.

Remarks

The table below shows header and permissions information on this operation.

SOAP Headers (In) BatchHeaderValue

(Out) ServerInfoHeaderValue
Required Permissions DeleteRoles

Deleting a role removes it from all policies with which the role is associated. If the role that is deleted is the only role that is associated with a particular policy, the policy is also deleted and any item associated with the policy inherits new policies from its parent.

You cannot delete the reserved role MyReportsRole.

Applies to