Assign many roles to the given 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.
Exceptions
Exception | Condition |
---|---|
System ArgumentException | |
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occur |
System ArgumentNullException | If the role ids or user id is null or empty. |
System UnauthorizedAccessException | If the use rhas not the privilege. |
See Also