CURRENT_USER function

CURRENT_USER returns the authorization identifier of the current user (the name of the user passed in when the user connected to the database). If there is no current user, it returns APP.

USER and SESSION_USER are synonyms.

These functions return a string of up to 128 characters.

Syntax

CURRENT_USER
VALUES CURRENT_USER