IRoleService GetUsersInRoleTenantByStratification Method CelloSaaS API Documentation
Gets the Stratified Tenant Id, User Role pair that can be managed by the given user id based on the roles assigned by the given role assigning tenant identifier

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

Dictionary<string, List<string>> GetUsersInRoleTenantByStratification(
	string userId,
	string roleAssigningTenantId
)

Parameters

userId
Type: System String
The user id.
roleAssigningTenantId
Type: System String
The role assigning tenant id.

Return Value

Type: Dictionary String, List String  
Dictionary of Stratified TenantId with the list of roles for this tenant id
Exceptions

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