Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-02-2025 05:22 AM - edited 06-02-2025 05:28 AM
Same here, couldnt find clear details on what needs to be passed, but this worked for me:
from databricks.sdk import AccountClient
a = AccountClient(host="https://accounts.cloud.databricks.com", account_id="<ACCOUNT_ID>", client_id="<CLIENT_ID>", client_secret="<SECRET>")
for user in a.users.list(filter=f'userName eq "{user_email}"')
print(user)