RemovePrivilegeRoleRequest RemovePrivilegeRoleRequest RemovePrivilegeRoleRequest RemovePrivilegeRoleRequest Class


Contains the data that is needed to remove a privilege from an existing role.

For the Web API use the RemovePrivilegeRole Action.

public ref class RemovePrivilegeRoleRequest sealed : Microsoft::Xrm::Sdk::OrganizationRequest
public sealed class RemovePrivilegeRoleRequest : Microsoft.Xrm.Sdk.OrganizationRequest
type RemovePrivilegeRoleRequest = class
    inherit OrganizationRequest
Public NotInheritable Class RemovePrivilegeRoleRequest
Inherits OrganizationRequest


Message Availability

For this message to work, the caller must be connected to the server.


Pass an instance of this class to the Execute(OrganizationRequest) method, which returns an instance of RemovePrivilegeRoleResponse.

Privileges and Access Rights

To perform this action, the caller must have privileges on the role entity and access rights on the record specified in the RoleId property. For a complete list of the privileges required, see RemovePrivilegeRole message privileges.


RemovePrivilegeRoleRequest() RemovePrivilegeRoleRequest() RemovePrivilegeRoleRequest() RemovePrivilegeRoleRequest()

Initializes a new instance of the RemovePrivilegeRoleRequest class.


ExtensionData ExtensionData ExtensionData ExtensionData

Gets or sets the structure that contains extra data. Optional.

(Inherited from OrganizationRequest)
Item[String] Item[String] Item[String] Item[String]

Gets or sets the indexer for the Parameters collection.

(Inherited from OrganizationRequest)
Parameters Parameters Parameters Parameters

Gets or sets the collection of parameters for the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
PrivilegeId PrivilegeId PrivilegeId PrivilegeId

Gets or sets the ID of the privilege that is to be removed from the existing role.

RequestId RequestId RequestId RequestId

Gets or sets the ID of an asynchronous operation (system job). Optional.

(Inherited from OrganizationRequest)
RequestName RequestName RequestName RequestName

Gets or sets the name of the request. Required, but is supplied by derived classes.

(Inherited from OrganizationRequest)
RoleId RoleId RoleId RoleId

Gets or sets the ID of the role from which the privilege is to be removed.

Applies to

See also