Auto populate users?

24 views
Skip to first unread message

Joshah Jennings

unread,
Oct 5, 2023, 2:02:18 PM10/5/23
to nemo
Hi all,

Wondering if there is a way to add an entire department of users at once? We have 77 we'd like to add. Do I need to do this manually? :\

Thanks!
JOSHAH.

Mathieu Rampant

unread,
Oct 5, 2023, 2:10:25 PM10/5/23
to Joshah Jennings, nemo
Hi Joshah,
You can add users in bulk using a CSV file in the API.

For that, you'll need to make sure you have the CSV parser enabled in your settings.py:

Then your column headers have to match user fields, which can be seen in the "users" part in the API. Administration -> API -> users
The required fields are "first_name", "last_name", "username" and "email"

Finally, the file can be uploaded in Administration -> API -> users -> "file import" tab

Let me know if you have any trouble.

Thanks,
Mathieu


--
You received this message because you are subscribed to the Google Groups "nemo" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nemo+uns...@list.nist.gov.
To view this discussion on the web visit https://groups.google.com/a/list.nist.gov/d/msgid/nemo/d22954f2-3fac-4409-bef2-1443b90013b2n%40list.nist.gov.

Joshah Jennings

unread,
Oct 5, 2023, 4:44:15 PM10/5/23
to nemo, mathieu...@gmail.com, nemo, Joshah Jennings
Fantastic! Thanks so much, again!
Reply all
Reply to author
Forward
0 new messages