ReportingService2005.DeleteRole(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
.