IRoleService GetUserRolesForStratifiedTenant Method CelloSaaS API Documentation
Gets the shared user roles.
Remarks

This API lists all the roles that this user has with respect to this tenant obtained via sharing and / or stratification

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>> GetUserRolesForStratifiedTenant(
	string userId,
	string stratifiedTenantId,
	string roleAssigningTenantId
)

Parameters

userId
Type: System String
The user id.
stratifiedTenantId
Type: System String
The stratified tenant id.
roleAssigningTenantId
Type: System String

Return Value

Type: Dictionary String, List String  
dictionary of role assigned tenant id and the list of the roles
Exceptions

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