CURRENT_USER

functionsupportedAccounts, users, sessions, warehouses

docs.snowflake.com ↗

Context functions

Returns the name of the user currently logged into the system.

Syntax

CURRENT_USER()

CURRENT_USER

Returns

This function returns a value of type VARCHAR.

Usage notes