I need to create users and assign default roles for several thousands of employees as user. I want to do this programmatically from the employee code as user ID, specific password that will be reset and user will change it in first successful log in.
How can I create users, set password, assign roles, set reset password options etc. Will this be possible? Thanks.
Hi
I tried with the creation of users in Entity User as well as assigned Roles and it worked successfully to create users. I have used the last employee name with some texts while creating the user programmatically however, login is failed as the password is encrypted that we know. Can someone help how can I use the way how CUBA is encrypting user-entered passwords so that I can use the same before saving the password?