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