snowflake.snowpark.functions.is_application_role_in_session¶
- snowflake.snowpark.functions.is_application_role_in_session(role_name: str) Column[source] (https://github.com/snowflakedb/snowpark-python/blob/v1.48.0/src/snowflake/snowpark/_functions/scalar_functions.py#L409-L427)¶
Verifies whether the application role is activated in the consumer’s current session.
- Parameters:
role_name (str) – The name of the application role to check.
- Returns:
A
Columnindicating whether the specified application role is active in the current session.
Example: