Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Programicaly create users

  • mindau
  • mindau's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 9 months ago #171239 by mindau
Programicaly create users was created by mindau
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?
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #171245 by DenisChenu
Replied by DenisChenu on topic 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 , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose