Drush
Drupal 7 will no longer be supported after January 5, 2025. Learn more and find resources for Drupal 7 sites
The project implements the drush command "user-import" to queue an user import from a CSV file. The command is:
drush user-import users.csv settings
You need to create at least one settings template and save it before you can use this command. See Save Settings to learn how to do this.
To configure a default settings template, navigate to People » Import » Configure and expand the "Setting templates" fieldset. After doing this, you may omit the settings template from the command line.
drush user-import users.csv
The above command will move move the file users.csv to private://user_import/processing, and you may then proceed to import it by navigating to People » Import » List Imports and pressing "Continue Processing".
Help improve this page
You can:
- Log in, click Edit, and edit this page
- Log in, click Discuss, update the Page status value, and suggest an improvement
- Log in and create a Documentation issue with your suggestion