Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Deletes a specified role from the report server database.
Namespace: ReportService2005
Assembly: ReportService2005 (in ReportService2005.dll)
Syntax
'Declaration
Public Sub DeleteRole ( _
Name As String _
)
'Usage
Dim instance As ReportingService2005
Dim Name As String
instance.DeleteRole(Name)
public void DeleteRole(
string Name
)
public:
void DeleteRole(
String^ Name
)
member DeleteRole :
Name:string -> unit
public function DeleteRole(
Name : String
)
Parameters
- Name
Type: System.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 |
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.