Programicaly create users

Plus d'informations
il y a 2 mois 1 semaine #171239 par mindau
mindau a créé le sujet : Programicaly create users
I have a list with usernames and emails and I need to import them to internal database. The first idea is to use custom SQL inserts, but it is quite heavy.

I think i going to generate random password and all users should use Forgot Password function in order to set proper password.

My questions is:

Maybe I can use model class or other class outside framework where User object with permissions would be inserted together?
Can I do it easier by developing a plugin?

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 2 mois 1 semaine #171245 par DenisChenu
DenisChenu a répondu au sujet : Programicaly create users
This week i have to create 50 admin user, i do it manually (to have the mail sended ) … You can surely create a plugin for this BUT : you use it one time …

Example of user create : github.com/LimeSurvey/LimeSurvey/blob/d3...AP/AuthLDAP.php#L207

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).
An error happen ? Before make a new topic : remind the Debug mode .

Connexion ou Créer un compte pour participer à la conversation.

Commencez dès maintenant !

Créez simplement un compte et commencez à utiliser LimeSurvey dès aujourd'hui.

Inscrivez-vous maintenant

Inscrivez-vous à notre Newsletter!