Title: Set UID when importing
Last modified: November 7, 2018

---

# Set UID when importing

 *  Resolved [lehamill](https://wordpress.org/support/users/lehamill/)
 * (@lehamill)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/set-uid-when-importing/)
 * I have a csv file of 12,500 users that includes various user info including a
   user ID. This user ID is used as a relationship to other tables that will also
   be created in wordpress. My question is: Is it possible to have the wordpress
   UID set to the user ID in the csv file during the import process?

Viewing 1 replies (of 1 total)

 *  Plugin Author [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * (@carazo)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/set-uid-when-importing/#post-10857392)
 * Good afternoon [@lehamill](https://wordpress.org/support/users/lehamill/),
 * You cannot alter the user_id because this is an auto incremental field.
 * So you have to create a UID meta data and then relate it with the other table.

Viewing 1 replies (of 1 total)

The topic ‘Set UID when importing’ is closed to new replies.

 * ![](https://ps.w.org/import-users-from-csv-with-meta/assets/icon-256x256.png?
   rev=1174343)
 * [Import and export users and customers](https://wordpress.org/plugins/import-users-from-csv-with-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-users-from-csv-with-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-users-from-csv-with-meta/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Javier Carazo](https://wordpress.org/support/users/carazo/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/set-uid-when-importing/#post-10857392)
 * Status: resolved