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 标头SOAP Headers | (In) BatchHeaderValue(In) BatchHeaderValue (Out) ServerInfoHeaderValue(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.
不能删除保留角色 MyReportsRole
。You cannot delete the reserved role MyReportsRole
.