Skip to content

CURRENT_USER ​

Returns the name of the user.

Syntax ​

sql
CURRENT_USER

Return Values ​

Current username as text.

Example ​

sql
SELECT CURRENT_USER;
txt
+----------------+
| 'jane@doe.com' |
+----------------+
|  jane@doe.com  |
+----------------+