I’m trying to export our readOnly users, and blocked users using the auth0 export tool. It’d be also fine if I could export all the users with these informations (blocked and user role) in them. I couldn’t find this information in the documentation, could you please tell me what field i should add to get the user’s role?
I understand that you’d like to export your user’s roles when using the Auth0 Import/Export Extension.
Unfortunately, the user’s role is not a user profile attribute that you can export. The list of user profile attributes defined here are the only attributes that can be exported.
An alternative option might be to set the user’s roles as the user_metadata. In that way, it would be possible to retrieve the roles of the user.
Please let me know if you have any further questions or concerns. I’d be happy to help!