SYSTEM_USER
Categories: System
SYSTEM_USER
Returns the name of the current user. This function cannot be used in a reflection.
Syntax
SYSTEM_USER → varchar
Examples
{{< codeheader "SYSTEM_USER example for Dremio Software" >}}
SELECT SYSTEM_USER
-- user.name
{{< codeheader "SYSTEM_USER example for Dremio Cloud" >}}
SELECT SYSTEM_USER
-- user.name@example.com
{{< codeheader "SYSTEM_USER example for Dremio Cloud" >}}
SELECT "SYSTEM_USER"()
-- user.name@example.com
Usage Notes
This function is identical to the functions SESSION_USER and USER.