SingleStore DB

USER

Returns the name of the current user.

Syntax
USER();
Return Type

String.

Example
SELECT USER();
****
+--------+
| USER() |
+--------+
| admin@ |
+--------+