Mass User Creation

Mass User Creation

  

I am trying to create a Mass User Creation Program. 

With the following functionality:

-Upload from Excel File

-User Creation

-Role Assignment


When I view the user that was created by my program, everything seems to be fine. Except that the password is not set.

I have used HashPassword that uses SHA512 to save the password. I am not sure if I missed anything.

SyntaxEditor Code Snippet

HashPassword

BTW, we are currently at version 9.1

Thanks in advance!

Solution

Hi Raymond,

It seems that OS would like to create first the user before setting/changing the password. After creating the user, update the password using the EncryptPassword function. Get the function in User Module by managing your dependencies. 


Kind regards,

Cy 


Solution