snowflake.snowpark.Session.use_role¶

Session.use_role(role: str) → None[source]¶

Specifies the active/current primary role for the session.

Parameters:

role – the role name.