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. |
This script function retrieves the first and last name of the user who has
started the task
Note: You can start tasks manually or by using the ACTIVATE_UC_OBJECT script function via Workflow and Schedule objects. If the task in which SYS_USER_DEP is called belongs to a Schedule object, this script functions supplies the department of the user who started the Schedule object.
Tip: You can also find information about the user in the execution lists. For more information, see Execution Data.
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: