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