snowflake.snowpark.functions.is_granted_to_invoker_role¶
- snowflake.snowpark.functions.is_granted_to_invoker_role(role_name: str) Column[source]¶
Returns True if the role returned by the INVOKER_ROLE function inherits the privileges of the specified role in the argument based on the context in which the function is called.
- Parameters:
role_name (str) – The name of the role to check.
- Returns:
A Snowflake Column object representing the result of the check.
- Return type:
- Example::