snowflake.snowpark.Session.use_role¶
- Session.use_role(role: str) None[source] (https://github.com/snowflakedb/snowpark-python/blob/release-v1.1.0/src/snowflake/snowpark/session.py#L1679-L1685)¶
Specifies the active/current primary role for the session.
- Parameters:
role – the role name.