Categories: System
QUERY_USER
Returns the username of the user that is currently logged in to the system. This function cannot be used in a reflection.
Syntax
QUERY_USER() → varchar
Examples
QUERY_USER exampleSELECT QUERY_USER()
-- testuser@dremio.com
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.