SYS_USER_NAME

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

Syntax

SYS_USER_NAME()

Return code

Name of the user-

Comments

This scriptEgalement un type d'objet distinct dans l'Automation Engine. function retrieves the name of the user who has started the task (for example, "SMITH" in "SMITH/AE").

Note that you can start tasks manually or by using the script element "ACTIVATE_UC_OBJECT" in WorkflowLes workflows sont utilisés pour effectuer des déploiements physiques. Un workflow décrit toutes les étapes nécessaires au déploiement de votre application. Votre application étant composée de différents éléments, le niveau le plus élevé du workflow (workflow d'application) représente l'architecture de votre application, et les workflows de composants sont utilisés pour déployer chacun des composants. Vous pouvez définir votre workflow de composants rapidement grâce à des actions prédéfinies. and ScheduleDémarre des objets activables à intervalles périodiques. Egalement un type d'objet distinct dans l'Automation Engine. objects. If the task in which "SYS_USER_NAME" 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 determines the name that has been used to log on using this script function and writes it to the activation report.

:SET &LOGN# = SYS_USER_NAME()
:
PRINT "Login information: The name of the user is &LOGN#."

See also:

Script element Description

SYS_USER_ALIVE

Checks if a user is logged on to AE with a UserInterface.

SYS_USER_DEP

Supplies the department of the user who has started the task.

SYS_USER_LANGUAGE

Supplies the language in which the Server generates the log files.

SYS_USER_LNAME

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

Script Elements - User Data

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function