SYS_USER_DEP

ScriptEigener Objekttyp in der Automation Engine Function: Supplies the department of the user who has started the task.

Syntax

SYS_USER_DEP()

Return code

Department of the user.

Comments

This script function determines the department of the user who has started the task (for example, "AE" in "SMITH/AE").

Note that you can start tasks manually or by using the script statement "ACTIVATE_UC_OBJECT" via 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_DEP" is called belongs to a Schedule object, this script functions supplies the department of the user who has started the Schedule object.

The user can also be identified in the Statistical Overview .

Example

The following example uses this script function in order to retrieve the department that has been used to log and writes the result to the activation report.

:SET &LOGDEP# = SYS_USER_DEP()
:
PRINT "Login information: The user department is &LOGDEP#."

See also:

Script element Description

SYS_USER_ALIVE

Checks whether a user is logged on to AE with a UserInterfaceVeralteter Begriff. Ersetzt durch: Automic Web Interface.

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.

SYS_USER_NAME Supplies the name of the user who has started the task.

Script Elements - User Data

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by function