is_account_group_member
function
Applies to: Databricks SQL Databricks Runtime Unity Catalog only
Returns true if the session (connected) user is a direct or indirect member of the specified group at the account level.
Syntax
is_account_group_member(group)
Arguments
group
: ASTRING
expression specifying a group.
Returns
A BOOLEAN
.
Examples
> SELECT is_account_group_member('admins');
false
> SELECT is_account_group_member('dev');
true