snowflake.snowpark.Session.get_current_role¶
- Session.get_current_role() str | None [source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.3.0/src/snowflake/snowpark/session.py#L1716-L1720)¶
Returns the name of the primary role in use for the current session.