This documentation is archived and is not being maintained.

RemoveUserRolesRoleRequest Class (CrmService)

banner art

[Applies to: Microsoft Dynamics CRM 4.0]

Find the latest SDK documentation: CRM 2015 SDK

Contains the data needed to remove an existing user from existing roles.

The RemoveUserRolesRoleRequest class inherits from Request. It exposes the following members.

RemoveUserRolesRoleRequestInitializes a new instance of the RemoveUserRolesRoleRequest class.

Instance PropertyDescription
RoleIdsGets or sets an array of IDs for the roles from which the user is to be removed.
UserIdGets or sets the ID of the user being removed from the roles.


Pass an instance of this class as the request parameter in the Execute method.


Web Service: CrmService

See Also


© 2010 Microsoft Corporation. All rights reserved.