SQL/MX 2.x Reference Manual (G06.24+, H06.03+)

SQL/MX Functions and Expressions
HP NonStop SQL/MX Reference Manual523725-004
9-141
SESSION_USER Function
SESSION_USER Function
The SESSION_USER function returns the current Guardian user ID as variable-length
character data in the form group.name.
The SESSION_USER function is equivalent to the CURRENT_USER Function on
page 9-41 and the USER Function on page 9-172
Examples of SESSION_USER
Use SESSION_USER to display the current session user:
SELECT SESSION_USER FROM logfile;
(EXPR)
-----------------------
DCS.TSHAW
...
--- 5 row(s) selected.
SESSION_USER