Purpose
This function returns the name of the current logged-on user.
Syntax
USER
Return data type
A VARCHAR2 value is returned.
Examples
Return the name of the current user.
obclient> SELECT USER FROM DUAL;
+------+
USER
+------+
SYS
+------+
1 row in set