Session
Overview
This is an object for properties related to the current session in the client UI. Session properties include the current user signed into the app and the app's chosen design theme.
- From version: 2020.20
Properties
currentUser
currentUser: Contact
The user that is currently using the Workflow app. Use this to indicate which actions and elements should be available in the view and for displaying relevant data for the current user.
rolesIds
rolesIds: string[]
The current user roles Ids Use this to indicate which actions and elements should be available in the view and for displaying relevant data by users roles
theme
theme: ThemeType
The Workflow's design theme can be either a "Dark Mode" or "Light Mode" "ThemeType" is Used to indicate between the Theme types in the app.