Categories: System
SYSTEM_USER
Returns the name of the current user. This function cannot be used in a reflection.
Syntax
SYSTEM_USER → varchar
Examples
SYSTEM_USER example for Dremio SoftwareSELECT SYSTEM_USER
-- user.name
SELECT SYSTEM_USER
-- user.name@example.com
SELECT "SYSTEM_USER"()
-- user.name@example.com
Usage Notes
This function is identical to the functions SESSION_USER
and USER
.
Was this page helpful?
Glad to hear it! Thank you for your feedback.
Sorry to hear that. Thank you for your feedback.