$ActiveUser¶
Represents the identity of the currently active user.
1 | |
Remarks¶
This variable is only available in user-context scripts, such as module scripts. Pre-work or post-work scripts are executed in a system context, and this variable is not available in those scripts.
Getting the active user's ID and name¶
1 2 3 | |
Capabilities¶
Properties¶
$ActiveUser.Domain: The unique identifier of the domain where the identity is defined.$ActiveUser.Id: The unique identifier of the identity.$ActiveUser.Name: The display name of the identity.$ActiveUser.Type: The type of identity.