AMTrigger.UserName
Syntax
%AMTrigger.UserName%
Trigger supported
Type
String
Description
Returns the username of the user who logged on when the task was triggered.
Example
NOTE:
- Copy and paste the sample AML code below directly into the Task Builder Steps Panel.
- To successfully run the sample code, update parameters containing user credentials, files, file paths, or other information specific to the task to match your environment.
Display the message "The username of the user who logged on when the task was triggered - %AMTrigger.UserName%" in a message box.
Copy
<AMSHOWDIALOG MESSAGE="The username of the user who logged on when the task was triggered - %AMTrigger.UserName%" />