You are viewing documentation about an older version (1.18.0). View latest version

snowflake.snowpark.Session.get_current_userΒΆ

Session.get_current_user() β†’ Optional[str][source]ΒΆ

Returns the name of the user in the connection to Snowflake attached to this session.