IRoleService GetStratifiedTenantAndRolesForUser Method CelloSaaS API Documentation
Gets the stratified tenant and roles for user. This API call gets the tenants by stratification that this user can manage and then lists all the roles that are assigned for this userid by which tenant and which role

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

Dictionary<string, Dictionary<string, List<string>>> GetStratifiedTenantAndRolesForUser(
	string userId
)

Parameters

userId
Type: System String
The user id.

Return Value

Type: Dictionary String, Dictionary String, List String   
Dictionary of stratified tenant id and dictionary of role assigned tenant id and list of roels
Exceptions

ExceptionCondition
CelloSaaS.ServiceContracts.AccessControlManagement RoleExceptionIf db exception occurs
System ArgumentNullExceptionIf user id is null or empty
See Also