Categories: System
USER
Returns the user that is currently logged into the system. This function cannot be used in a reflection.
Syntax
USER() → varchar
Examples
USER exampleSELECT 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.