Forum OpenACS Development: Re: Autogenerating users

3: Re: Autogenerating users (response to 1)
Posted by Neophytos Demetriou on
Try this:

SELECT acs_user__new(null, 'user', now(), null, null, null, 'someusername', ''; , null, 'somefirstname' , 'somelastname' , 'somepassword' , 'somesalt' , null, 't', null );

The order of arguments is as follows: user_id,object_type, creation_date, creation_user, creation_ip, authority_id, username, email, url, first_names, last_name, password, salt, screen_name, email_verified_p, context_id

4: Re: Autogenerating users (response to 3)
Posted by Mattia Righetti on
Yes, the problem is that the database stores the password already encrypted and I'm not sure that this function also encrypts the password...