In case you need to expedite creation of thousands of users and passwords
the following classes might help. In essence, all of user creation steps
can be done by sql. However, password hash is a bit tricky in dhis2 when it
depends on Spring Security.

https://dl.dropboxusercontent.com/u/63702128/dhis2%20user%20generator/GeneratePassword.java
https://dl.dropboxusercontent.com/u/63702128/dhis2%20user%20generator/RandomGenerator.java

After having a list of username and password pairs you can use sql to fill
in users and userinfo tables, plus other germane tables for assigning
orgunit and roles.

Thanh
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to     : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help   : https://help.launchpad.net/ListHelp

Reply via email to