Removes the given roles from the user
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- userId
- Type: System String
The user id.
- roleIds
- Type: System String
The role ids.
- tenantId
- Type: System String
The tenant id.
Exceptions
Exception | Condition |
---|---|
System ArgumentNullException | If role ids or user id or tenant id is null or empty. |
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occurs |
System UnauthorizedAccessException | If user has not the privilege to delete the user role |
See Also