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.
- updateRoleIdentifiers
- Type: System String
The update role identifiers.
- deleteRoleIdentifiers
- Type: System String
The delete 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 user id or tenant id is null or empty. |
See Also