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

snowflake.snowpark.Session.get_current_role¶

Session.get_current_role() → str | None[source]¶

Returns the name of the primary role in use for the current session.