Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-14 Thread Uddin Fatema
Dear All, Thanks you very for your help and help me a lot to create a a java class that can read excel file and create a bulk user at a time. i will add that class soon here. Thanks Best Regards On Fri, May 9, 2014 at 3:51 PM, Morten Olav Hansen wrote: > Just wanted to mention that we are no

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-09 Thread Morten Olav Hansen
Just wanted to mention that we are now planing to add this functionality to 2.16, it will work as /api/users today (allows creating one user with password etc), but will support bulk import of users + passwords through our meta-data import (/api/metadata), there will be no export of passwords, but

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-09 Thread Knut Staring
For Mysql, i think you could do this in postgres first, then do a metadata export to mysql and finally use sql to bring over the generated passwords. On 9 May 2014 10:52, "Kenneth Børtveit" wrote: > Alright. Are you using postgres? If not, this will not work. > > 1. > Select the by pressing the

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-09 Thread Kenneth Børtveit
Alright. Are you using postgres? If not, this will not work. 1. Select the by pressing the select button. 2. In this case, the firstname and surname is in the csv file. Surname in the first column, 0, and firstname in the second column, 1. Select the csv radio button and the right column. Probabl

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-08 Thread Hannan Khan
Thanks Randy We are trying with Kenneth's Java application; if we have the sample csv file it will be very help full for us. Dear Kenneth Can you please send me a sample CSV file. Regards Hannan On Thu, May 8, 2014 at 6:58 PM, Wilson,Randy wrote: > Hi Hannan, > > > > I think you should tr

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-08 Thread Wilson,Randy
Hi Hannan, I think you should try Kenneth’s java application. We created 40,000 users (community health workers with their phone numbers and orgunit link) and assigned them all passwords using the app. I think Kenneth has put in a User interface that lets you specify the server address, DHIS-

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-08 Thread Hannan Khan
Hi Lars Thanks. Yes restarting tomcat can generate the blank UID. UID is a indexed field so I cannot create more than one user in one go. Is there any solution? Regards Hannan On Wed, May 7, 2014 at 2:38 PM, Lars Helge Øverland wrote: > Hi, > > it is correct that missing UIDs will be generat

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Kenneth Børtveit
You can try using this .jar file. It is not very prepared, but I think it can help you. I used this to create users from a csv file. It is not user friendly, so just let me know if you need any help. ​ user_importer.jar

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Lars Helge Øverland
Hi, it is correct that missing UIDs will be generated on system startup. I think what is being referred to here is dhis UID and not an UUID. There are ways to generate dhis UIDs through the web api but it's just much simpler to restart tomcat. regards, Lars On Wed, May 7, 2014 at 10:19 AM, K

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Knut Staring
The easiest is to restart DHIS2 (Tomcat) On Wed, May 7, 2014 at 10:14 AM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > If it is blank then the database will regenerate it automatically when you > restart (I think. This is what happens with other objects which have a > uuid). That is t

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Jason Pickering
If it is blank then the database will regenerate it automatically when you restart (I think. This is what happens with other objects which have a uuid). That is the easiest way. If you are preparing SQL for injection of the users and you want to pregenerate them, you can use which ever tool you ar

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Hannan Khan
No. It seems that uuid is not automatically generated. Please suggest. Regards Hannan On May 7, 2014 1:34 PM, "Jason Pickering" wrote: > The UUID will be generated automatically, so no need to worry about it. > > Regards, > Jason > > > > On Wed, May 7, 2014 at 9:29 AM, Hannan Khan wrote: > >>

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Jason Pickering
The UUID will be generated automatically, so no need to worry about it. Regards, Jason On Wed, May 7, 2014 at 9:29 AM, Hannan Khan wrote: > Thanks Jason. Password issues are there and we are trying with that but > what about the UUID? > > Regards > > Hannan > > > On Wed, May 7, 2014 at 12:14

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-07 Thread Hannan Khan
Thanks Jason. Password issues are there and we are trying with that but what about the UUID? Regards Hannan On Wed, May 7, 2014 at 12:14 PM, Jason Pickering < jason.p.picker...@gmail.com> wrote: > Hi Hannan, > This has been discussed (again) recently on this list. > > > http://dhis-developers-

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-06 Thread Brajesh Murari
Dear Mr. Khan length of the password should not be an issue in creating bulk users in DHIS2,if and only if it does't violet any validation checks, like 1. Password should start with Capital letter. 2. Password should contains at least one neumaric character. 3. Password length should not be les

Re: [Dhis2-devs] [Dhis2-users] Creation of bulk user.

2014-05-06 Thread Jason Pickering
Hi Hannan, This has been discussed (again) recently on this list. http://dhis-developers-list.1563109.n2.nabble.com/Password-Generation-td7590749.html#a7590750 http://dhis-developers-list.1563109.n2.nabble.com/USERS-Password-td7591703.html#a7591704 There are a few more as well in the archives if