INVOKER_ROLE

functionsupportedAccess control (grants, roles)

docs.snowflake.com ↗

Context functions

Returns the name of the account-level role of the object executing the query or NULL if the name of the role is a database role.

Syntax

INVOKER_ROLE()

Usage notes

See also