snowflake.snowpark.Session.get_current_roleΒΆ Session.get_current_role() β Optional[str][source]ΒΆ Returns the name of the primary role in use for the current session.