This project is not covered by Drupal’s security advisory policy.
This module used to import users from json data without uploading any files. Normally, while moving or migrating resources from other portals, we have a CSV file to import the users.
We occasionally receive user data in JSON format. Our Json Users Import assists in importing the users' data during that period without any loss of data.
Procedures for importing user data:
Configuration:
- Click the "Configuration" menu from admin toolbar.
- Then click the "People" menu and then "Json users import configuration" menu.
- Now you will have the Json users import configuration page. And all the core and custom fields from the User accounts will be listed here.
- Map the fields name with the json key from the json data you have.
- If you want to send mail to the user about the new account created, select the "Send E-Mail to users" option and fill the Subject, E-Mail option and Content of the E-Mail.
- We have two option here
- Send One time login URL (or)
- Send Password
- Select the option you want and click the Save button!
Importing Users:
- Login as Admin and click the People menu form the Admin Toolbar
- From the top Tab, select the Json users import menu.
- Map the fields in the user accounts to the JSON key in the User Import Configuration.
- Copy and paste the JSON data into the Paste your json here text area.
- Finally click the Import button!
- Now you can see the users list in user account.
Dependency Module:
For sending mail, we need SMTP Authentication Support module.
Example:
Sample Json:
Sample User account fields

Sample User import configuration

Sample User import E-Mail configuration

Name and Email fields are required by default. So, as seen in the pictures above, map the email fieldname to the email key and the name fieldname to the username key from the json.
If your json data doesn't contain the username name, map the field you want to serve as the username to it.
| Attachment | Size |
|---|---|
| manage-user-fields | 15.16 KB |
| sample-json-image | 15.29 KB |
| Import-Config | 13.53 KB |
| Email-Config | 23.47 KB |
Project information
- Project categories: Access control
3 sites report using this module
- Created by kurinjiselvan v on , updated
This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.
Releases
This module helps to import users from JSON.
