# Populating a custom user data field

**URL:** <https://meta.discourse.org/t/populating-a-custom-user-data-field/265720>\
**Category:** Support\
**Created:** [May 21, 2023, 6:28pm UTC](https://meta.discourse.org/t/populating-a-custom-user-data-field/265720 "2023-05-21T18:28:47Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![MikeNolan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mikenolan/32/297597_2.png) [@MikeNolan](https://meta.discourse.org/u/MikeNolan)\
**Post date:** [May 21, 2023, 6:28pm UTC](https://meta.discourse.org/t/populating-a-custom-user-data-field/265720/1 "2023-05-21T18:28:47Z")

</div>

On our DIscourse-hosted site we have a custom user data field for a user’s member ID in our organization.

What’s the easiest way to populate it for around 2000 users brought over from our old phpbb3 system? (I can generate a list of what username is what member ID.)

And is there any way to ensure that the contents of that field (when non- null) is unique?

---

_[View the full topic](https://meta.discourse.org/t/populating-a-custom-user-data-field/265720)._
