activeUser
Syntax

Session.activeUser;
Access
readonly
Parameters
Return value string
The (short) user name.
Description
The activeUser property is used to get the user’s short name of the user currently logged in. It returns empty when not logged in.
For more info about the Session object please see the entSession documentation.
Examples
Get the name of the user currently logged in
When activeUser is empty, there is no active session.
// Get the name of the user currently logged in.
var sessionObject = app.entSession;
var userShortName = sessionObject.activeUser;
// userShortName is now 'Joe'.
Supported versions
| Adobe Version | Supported |
|---|---|
| 2022 | ✔ |
| 2023 | ✔ |
| 2024 | ✔ |
| 2025 | ✔ |