Functions Data

User

The User() function returns the code of the currently logged-in Quintessence user.


Syntax:

Qx.User()
  • In Excel with Quintessence addin versions prior to 25.1, use: User()
  • In the Quintessence Editor (Studio) using Quintessence language, use: User()
  • In the Quintessence Editor (Studio) using Python language, use: Qx.User()

Remarks:

  • Depending on how the administrator has set up users in the Quintessence system, the User() function can be used together with the TranslateCode() function to return the user’s name instead of the user’s code.

Examples:

The examples provided below are based on fictitious data for illustrative purposes only.

> Example 1: Retrieve current user’s code.

=Qx.User()
5671:Quintessence Code