# Export readOnly users on auth0

**URL:** <https://community.auth0.com/t/export-readonly-users-on-auth0/71898>\
**Category:** Get Help\
**Tags:** export-user-list, auth0\
**Created:** [October 22, 2021, 6:27pm UTC](https://community.auth0.com/t/export-readonly-users-on-auth0/71898 "2021-10-22T18:27:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![narges.fallahi](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/narges.fallahi/32/32190_2.png) [@narges.fallahi](https://community.auth0.com/u/narges.fallahi)\
**Post date:** [October 22, 2021, 6:27pm UTC](https://community.auth0.com/t/export-readonly-users-on-auth0/71898/1 "2021-10-22T18:27:24Z")

</div>

Hi there,

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?

---

<div class="post-metadata">

**Author:** ![rueben.tiow](https://sea1.discourse-cdn.com/auth0/user_avatar/community.auth0.com/rueben.tiow/32/11646_2.png) [@rueben.tiow](https://community.auth0.com/u/rueben.tiow)\
**Post date:** [October 22, 2021, 11:58pm UTC](https://community.auth0.com/t/export-readonly-users-on-auth0/71898/2 "2021-10-22T23:58:11Z")

</div>

Hi @narges.fallahi,

Thanks for reaching out to the Auth0 Community!

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](https://auth0.com/docs/users/user-profiles/user-profile-structure) 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!

Thank you.

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/auth0/original/3X/b/5/b560f266932fcce5d57f09a6595bd50518cae3f3.jpeg) [@system](https://community.auth0.com/u/system)\
**Post date:** [December 6, 2021, 11:50pm UTC](https://community.auth0.com/t/export-readonly-users-on-auth0/71898/4 "2021-12-06T23:50:42Z")

</div>

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