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.