doo.currentUser

The doo.currentUser object is used to access information about the currently logged-in user. Using this object, you can retrieve various properties such as the user's username or the roles assigned to the user within the application.

The doo.currentUser object also contains all the fields from the Users table. This allows you to access any user-specific information you need directly from this object.

The doo.currentUser object can be used in custom JavaScript within forms scripts, workflows, data loading conditions in roles, etc. This allows for dynamic and personalized functionality based on the currently logged-in user's details.

The values in the doo.currentUser object are cached for 5 minutes. Therefore, after updating information in the Users table, it may take up to 5 minutes for the new values to reflect in doo.currentUser.