Provides the session user name.
Session Logon | Result |
---|---|
Not directory-based | Result value is the session user name. |
Directory-based | If the session maps to a permanent table, the result value is the name of the permanent user. If the session does not map to a permanent user, the result value is the authcid of the external user. |
ANSI Compliance
This statement is ANSI SQL:2011 compliant.