Forum OpenACS Development: Re: Autogenerating users
3: Re: Autogenerating users (response to 1)
Posted by Neophytos Demetriou on 10/31/14 03:30 PM
SELECT acs_user__new(null, 'user', now(), null, null, null, 'someusername', 'mailto:firstname.lastname@example.org'; , 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 10/31/14 05:05 PM
Yes, the problem is that the database stores the password already encrypted and I'm not sure that this function also encrypts the password...