How do I find the users in workspaces

User16826987838
Databricks Employee
Databricks Employee

Looking to pull a list of all the users in their workspaces (including the ones who have never done anything), is there a way to do that? This for AWS

Ryan_Chynoweth
Databricks Employee
Databricks Employee

You can use the SKIM APIs. Endpoint: https://docs.databricks.com/dev-tools/api/latest/scim/scim-users.html#get-users

Or you can use the Workspace API. The workspace API does not have a direct list users command, but you can use the workspace API to list all the folders in the "Users" directory, filter the results to only have directories with the "@" symbol. Endpoint: https://docs.databricks.com/dev-tools/api/latest/workspace.html#list