Assign many roles to the given user
Namespace: CelloSaaS.BusinessEdition.ServiceProxies.AccessControlManagementAssembly: CelloSaaS.BusinessEdition (in CelloSaaS.BusinessEdition.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