IRoleService GetAllGlobalRoleDetails Method CelloSaaS API Documentation
Get all global role details

Namespace: CelloSaaS.ServiceContracts.AccessControlManagement
Assembly: CelloSaaS.ServiceContracts (in CelloSaaS.ServiceContracts.dll) Version: 4.3.1.0 (4.3.1.0)
Syntax

List<Role> GetAllGlobalRoleDetails()

Return Value

Type: List Role 
Active and Inactive Global Role details
Exceptions

ExceptionCondition
CelloSaaS.ServiceContracts.AccessControlManagement RoleExceptionIf db exception occurs while fetching hte global role details.
System UnauthorizedAccessExceptionIf the user has not the privilege.
Examples

public void GetAllGlobalRoleDetails()
{        
   IRoleService roleService = ServiceLocator.Resolve>IRoleService<();
   List<Role> roles = roleService.GetAllGlobalRoleDetails();
}
See Also