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 | … |
Reference material for SESSION_USER function
TEXT
session_user()
.
user_name | … |
---|---|
alice | … |