SYS_USER_LNAME
Use the SYS_USER_LNAME script function to retrieve the first and last name of the user who started the task
Tip: You can also find information about the user in the execution lists. For more information, see Execution Data.
Syntax
SYS_USER_LNAME ()
Return Codes
Returns the first and last name of the user. Returns " " if the name is not defined.
Examples
The following example retrieves the first and last name of the user who started the task and writes it to the activation report.
: SET &LOGLN# = SYS_USER_LNAME ()
: PRINT "Login information: User's first and last names are &LOGLN#."
See also: