SYS_USER_LNAME

Script Function: Supplies the first and last name of the user who has started the task.

Syntax

SYS_USER_LNAME ()

Return codes

First and last name of the user.
" " - Name was not defined

This script function retrieves the first and last name of the user who has started the task.

Example

The following example retrieves the first and last names that have been used to log on using this script function 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: