Neoview SQL Reference Manual (R2.3)
CURRENT_USER Function
The CURRENT_USER function returns the user name that you logged in as. If you are logged
in as the role, the role is returned. This function can be used anywhere in the query. The values
returned are string datatype VARCHAR(64).
CURRENT_USER
The CURRENT_USER function is equivalent to the “USER Function” (page 440).
Example of CURRENT_USER
This example retrieves the user name value for the current user
SELECT CURRENT_USER FROM logfile;
(EXPR)
-----------------------
DCS.TSHAW
...
--- 5 row(s) selected.
328 SQL Functions and Expressions