System function: CURRENT_USER
CURRENT_USER returns a string containing the user name for the current volume user:
Varchar CURRENT_USER()
Example
The following code:
SELECT CURRENT_USER()
returns:
user1