UserContext

Field NULL Description Note
Identity
object
  The name of the user  
CurrentUser
object
  A User object  
CurrentTenant
object
  A Tenants object  
RequestId
string (GUID)
  The id of the request  
RequestSource
string
  The request source, e.g. “User request”  
Roles
array of objects
  An array of Role objects  
Permissions
object
  A Permission object  
LicenseModules
array of strings
  The list of assigned modules  
Culture
string
  The culture of the user  
Current
object
  The UserContext of the current logged in user, e.g. UserContext.Current.CurrentTenant  
bool IsInRole(string role)
boolean function
  Returns true if the user has the role in parameter