Skip to main content
Version: 0.0.1

SESSION_USER

Categories: System

SESSION_USER

Returns the user that created the current session. This function cannot be used in a reflection.

Syntax

SESSION_USER varchar

Examples

{{< codeheader "SESSION_USER example" >}}

SELECT SESSION_USER
-- user.name@example.com

{{< codeheader "SESSION_USER example" >}}

SELECT "SESSION_USER"()
-- user.name@example.com

Usage Notes

This function is identical to the functions SYSTEM_USER and USER.