Returns the name of the user running the current query.Documentation Index
Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
Return Types
TEXT
Examples
The following code example shows the effective privileges of the roles directly assigned to the user running the query: Example Dynamic security through a view which usessession_user().
| user_name | … |
|---|---|
| alice | … |