[development] Insert users from script?

Alex Barth alex at developmentseed.org
Thu Dec 3 00:27:16 UTC 2009


On Dec 2, 2009, at 5:38 PM, Gastón Pablo Pérez wrote:

> Hi all
>
> I have data for several persons in an excel file and i would like to  
> convert all of these people in users in my drupal 6. Somebody knows  
> how can i do this? The idea is that not to have to create the users  
> one by one, maybe i would have to make an sql script to include the  
> users in one time, but i don't know in which tables I have to  
> include the data and some other things for example, how have i to  
> set the password? (this is encrypted in the database field)

Check out http://drupal.org/project/feeds

It contains an import option for users from CSV.

If the standard CSV field to user property mapping doesn't meet your  
needs, you can adjust it on

admin/build/feeds/edit/user/mapping

Alex

>
> thanks in advance
>
> Gastón Pablo Perez
> Email: gpperez at gmail.com
> Web: http://cv.gpperez.com.ar

Alex Barth
http://www.developmentseed.org/blog
tel (202) 250-3633






More information about the development mailing list