IRoleService GetUserRolesForTenant Method (String, String) CelloSaaS API Documentation
Gets the tenant roles for the given user

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

string[] GetUserRolesForTenant(
	string userId,
	string tenantId
)

Parameters

userId
Type: System String
The user id.
tenantId
Type: System String
The session tenant id.

Return Value

Type:  String 
List of Roles
Exceptions

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