UMApi (User, Tenant, Roles APIs)
getCurrentUser
Get the current login user.
Parameters
Returns
getCurrentUserId
Get the current user id
Parameters
Returns
getIdOfCurrentUser
Get the current user id as a number
Parameters
Returns
getIdOfCurrentUserAsLong
Get the current user id as a long number.
Parameters
Returns
isNumeric
Check if i string number is numeric.
Parameters
Returns
result as a boolean
switchToPrivilegedMode
The privileged mode has a superuser access and is able to override logged in user to perform an internal workbench operation e.g., database access.
Parameters
Returns
resetPrivilegedMode
Remove the privileged mode thereby restoring everything to normal.
Parameters
Returns
isPrivilegedMode
Check if privileged mode is active.
Parameters
Returns
switchToPrivilegedUserMode
Switch into the privileged user mode.
Parameters
Returns
resetPrivilegedUserMode
Reset the privileged user mode.
Parameters
Returns
isPrivilegedUserMode
Check if privileged user mode is active
Parameters
Returns
getCurrentUserTenantId
get current user tenantid
Parameters
Returns
getTenantId
get tenantid
Parameters
Returns
getUserByUserId
get user by userid
Parameters
Returns
getUser
get user using id
Parameters
Returns
Last updated