Getting Roles as null while calling GetAllMembersAsync According to organization

And is there is any option by which i can activate or deactivate my organizational users.

Hi @amit.raj,

Thanks for reaching out to the Auth0 Community!

I have just checked your tenant and found that you have 0 organizations configured.

Looking further, I found that your users are assigned to the roles individually (not the same as Organization Roles).

In this case, you will need to call the client.Users.GetRolesAsync(userId, pagination) method to retrieve the assigned roles for a specific user.

See Interface IUsersClient for your reference.

Let me know how this works for you.


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.