Show examples in:
List all users

Returns

Returns an array of sso_user resource objects.

Examples

Example Basic example
import { buildClient } from '@datocms/cma-client-node';
async function run() {
const client = buildClient({ apiToken: '<YOUR_API_TOKEN>' });
const ssoUsers = await client.ssoUsers.list();
ssoUsers.forEach((ssoUser) => {
console.log(ssoUser);
});
}
run();