IRoleService GetGlobalRoleDetails Method CelloSaaS API Documentation
Get active 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> GetGlobalRoleDetails()

Return Value

Type: List Role 
Active Global Role details
Exceptions

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

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