Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I find out which Databricks groups I'm a member of?

I'm trying to figure out if I'm a member of a specific group on Databricks using either the website or Databricks CLI.

I found a reference to managing groups via an account console, but this requires an admin account. I also found the Databricks groups CLI, but the documentation says you need an admin account to use the API.

like image 481
savagedata Avatar asked Oct 27 '25 03:10

savagedata


2 Answers

(Answering my own question.) It turns out that the Databricks groups CLI documentation is incorrect and you can use it to view your own groups as a user without admin access.

The command is:

databricks groups list-parents --user-name <your-user-name>

However, I can't view parents of other users, and I can't access the other databricks groups commands without getting an error message about lacking valid scope.

like image 105
savagedata Avatar answered Oct 30 '25 15:10

savagedata


You can run this command in the SQL Editor:

show groups with user `[email protected]`
like image 32
Ramiro Avatar answered Oct 30 '25 14:10

Ramiro



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!