Hi Jason Excellent. Thank you very much Jason! I'm answered clearly.
Regards Farai On Thu, Jun 25, 2015 at 10:19 AM, Jason Pickering < [email protected]> wrote: > Hi Farai, > > It is possible, but let me explain it a bit more clearly. There are > essentially three ways to do create users. > > 1) Allow users to self-register. > > 2) Send a user an invite. This allows them to specify their > username/password and is considered to be more secure, as the password is > never transmitted over insecure means. This method is described in detail > in the link which you provided. > > 3) Create users with pre-defined username and password. This can be done > with XML/JSON through the metadata API. You can follow the example ofhere > https://apps.dhis2.org/demo/api/users/oXD88WWSQpR to know how the payload > should be structured. > The property "password" should contain the clear-text password of the > user, and should be a child of the "userCredentials" node. > Once you create the XML/JSON payload as you like, then you can post this > to /api/metaData. > > Hope this helps. > > Best regards, > Jason > > > > On Thu, Jun 25, 2015 at 9:39 AM, Farai Mutero <[email protected]> wrote: > >> Hi Guys >> >> I have been informed that it's now possible to register users via the Web >> API using the User Account Invitation process and in the process provide a >> default password such that the registered users don't have to reply on >> email? >> >> Can someone please confirm this for me? I understand Jason Pickering >> presented this functionality recently in Livingstone, Zambia. The User >> Account Invitation process I'm referring to is documented here: >> https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s30.html#d5e3951 >> >> Regards >> >> -- >> Farai Mutero >> >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~dhis2-devs >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~dhis2-devs >> More help : https://help.launchpad.net/ListHelp >> >> > > > -- > Jason P. Pickering > email: [email protected] > tel:+46764147049 > -- Farai Mutero
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-devs Post to : [email protected] Unsubscribe : https://launchpad.net/~dhis2-devs More help : https://help.launchpad.net/ListHelp

