Drupal User Import module - Updating existing users

The User Import module takes a CSV file of user information and automatically creates new users or updates existing users.

The way it handles updating existing users was initially an all or nothing affair but now has new options.

Options For Updating Existing Drupal Users

The new version splits the 'update existing users' option to give a choice of how each part of a user account is updated. For example we can now do an import which sets profile fields and roles for new users but only updates profile fields for existing users.

The update options for each part are:

  • None
  • Replace Data
  • Add Data

The 'Add Data' option only updates an existing user's account if there is no equivalent data there already, for example if a profile field is empty then it gets filled with the new data, if the profile field has existing data then it's left as it is.

The 'Replace Data' option replaces all existing data, including setting to empty if that is how the CSV file defines it.

Image
'Replace Data' option

Module Info

Download: User Import Module