Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies to: Databricks SQL
Databricks Runtime
Returns true if the session (connected) user is a direct or indirect member of the specified group if the specified group is a workspace local group or an account level group assigned to the workspace.
In most cases you should use is_account_group_member
function to test group membership at the account level.
is_member(group)
group
: ASTRING
expression specifying a group.
A BOOLEAN
.
> SELECT is_member('admins');
false
> SELECT is_member('dev');
true