Categories: System
SESSION_USER
Returns the username of the user that created the current session. This function cannot be used in a reflection.
Syntax
SESSION_USER() → varchar
Examples
SESSION_USER exampleSELECT SESSION_USER
-- testuser@dremio.com
Usage Notes
This function must be called without parentheses.
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.