Categories: Context
USER
Returns the user that is currently logged into the system.
Syntax
USER() → varchar
Examples
SELECT USER()
-- testuser@dremio.com
SELECT USER
-- testuser@dremio.com
Usage Notes
This function can be called without the parentheses.
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.