ScriptEigener Objekttyp in der Automation Engine 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. |
Comments
This script function retrieves the first and last name of the user who has started the task (for example, "John Smith"). The full name can be defined in the User object's User tab.
Note that you can start tasks manually or by using the script element "ACTIVATE_UC_OBJECT" in Workflow"Ermöglicht das Hinzufügen, Anordnen, Verknüpfen, Definition von Eigenschaften und Entfernen von Aufgaben eines Workflows. Ein eigener Objekttyp in der Automation Engine. [Früher ""AblaufPlan"" und ""JobPlan"" gennant.]" and ScheduleStartet in periodischen Abständen aktivierbare Objekte. Auch ein eigener Objekttyp in der Automation Engine. objects. If the task in which "SYS_USER_LNAME" is called belongs to a Schedule object, this script function supplies the name of the user who has started the Schedule object.
The user can also be identified in the Statistical Overview.
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 protocol.
:SET &LOGLN# = SYS_USER_LNAME()
:PRINT "Login information: User's first and last names
are &LOGLN#."
See also:
Script element | Description |
---|---|
Checks if a user is logged on to AE with a UserInterfaceVeralteter Begriff. Ersetzt durch: Automic Web Interface. |
|
Supplies the department of the user who has started the task. |
|
Supplies the language in which the Server generates the log files. |
|
Supplies the name of the user who has started the task. |
About Scripts
Script Elements - Alphabetical Listing
Script Elements - Ordered by function