This method is used to update user roles.
New role Identifier for user then insert role to user.
Previous user role is not available in the current list then remove role from user.
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- userIdentifier
- Type: System String
The user identifier.
- roleIdentifiers
- Type: System String
The role identifiers.
- tenantId
- Type: System String
The tenant id.
Exceptions
Exception | Condition |
---|---|
System UnauthorizedAccessException | If the user has not the privilege |
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occurs |
System ArgumentNullException | If role ids or user id or tenant id is null or empty. |
See Also