Get all default global roles defined in the system.
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Return Value
Type: StringDefault Role Identifiers
Exceptions
Exception | Condition |
---|---|
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occurs while getting default roles. |
Examples
public void GetAllDefaultRoles() { IRoleService roleService = ServiceLocator.Resolve>IRoleService<(); string[] roles = roleService.GetAllDefaultRoles(); }
See Also