Categories: Context
SESSION_USER
Returns the username of the user that created the current session.
Syntax
SESSION_USER() → varchar
Examples
SELECT 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.