Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Archive
SilverStripe Forums » Archive » Bulk Import of Users
Our old forums are still available as a read-only archive.
|
Page:
1
|
Go to End | |
| Author | Topic: Bulk Import of Users | 698 Views |
-
Bulk Import of Users

9 October 2008 at 1:01pm
Is there a tool to Bulk load users into the Users and User_Groups tables?
Ideally I'd like to upload a csv file containing FirstName, Surname, Email, Password and have the users added if they are not in the user database already, and add them to whatever group I specify.
Nice to have would be making Password optional and auto-generating passwords.
Anyone build anything like this? Or have thoughts on how to go about building it as an add-on?
-
Re: Bulk Import of Users

9 October 2008 at 8:31pm
There's a csv import for the newsletter mailing list. Maybe you can simply alter that code and use it for your user import. I guess there shouldn't be too much to change, since the newsletter subscribers are basically users as well
-
Re: Bulk Import of Users

25 November 2008 at 4:43am Last edited: 25 November 2008 4:44am
Hi, you will find in the attached files my own implentation of bulk users import, directly duplicated from the code in newsletter ( screenshot here )
place the following in cms/code
SecurityAdmin.php (replace)
SecurityImportField.php (new)and place the following in cms/templates (both new)
Security_RecipientImportField.ss
Security_RecipientImportField_Table.sstested on 2.2.3
don't know yet if it can import password too, to be tested, let me know how it goes for you
[edit] : do attached files work on this forum ? if not download here.
| 698 Views | ||
|
Page:
1
|
Go to Top |
Currently Online: walec51, AlfonsoGrondo, _Vince
Welcome to our latest member: AlfonsoGrondo


