IUserDetailsService GetUserDetailsByUserId Method (String, String) CelloSaaS API Documentation
Gets the user details for the given user id and the tenant Id.

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

UserDetails GetUserDetailsByUserId(
	string userId,
	string tenantId
)

Parameters

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

Return Value

Type: UserDetails
UserDetails
Exceptions

ExceptionCondition
CelloSaaS.ServiceContracts.UserManagement UserDetailExceptionIf Any exception occurred, while connecting or modifying the database.
System UnauthorizedAccessExceptionIf the user has not the view user privilege
System ArgumentNullExceptionIf the user id is null or empty
See Also