The SESSION_USER function returns the current active session user name. If the session user name is not returned, the system user name is returned. The resulting data type is CHAR(31).