Get all global role details
Namespace: CelloSaaS.ServiceContracts.AccessControlManagementAssembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax
Return Value
Type: List RoleActive and Inactive Global Role details
Exceptions
Exception | Condition |
---|---|
CelloSaaS.ServiceContracts.AccessControlManagement RoleException | If db exception occurs while fetching hte global role details. |
System UnauthorizedAccessException | If the user has not the privilege. |
Examples
public void GetAllGlobalRoleDetails() { IRoleService roleService = ServiceLocator.Resolve>IRoleService<(); List<Role> roles = roleService.GetAllGlobalRoleDetails(); }
See Also