Adds a new role to the system.
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Parameters
- tenantCode
- Type: System String
Tenant Code
- roleName
- Type: System String
Role Name(Mandatory)
- description
- Type: System String
Role Description
- serviceIds
- Type: System String
The service ids.
Return Value
Type: StringInserted Role Id
Exceptions
Exception | Condition |
---|---|
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occurs while adding the role. |
See Also