Re: [Dhis2-devs] JS Call to Determine User Info

2014-10-09 Thread Mark Polak
Hey Dan, There are a few endpoints in the api you can call to get information see https://www.dhis2.org/doc/snapshot/en/developer/html/ch01s27.html A few examples: https://apps.dhis2.org/dev/api/me https://apps.dhis2.org/dev/api/me/authorization Kind regards, Mark Polak m...@thedutchies.com m

[Dhis2-devs] JS Call to Determine User Info

2014-10-09 Thread Dan
Hi All, I’m writing a DHIS 2 app (a la the App Store) and I’d like to know if there is a JS call I can make to get information about the user I’m logged in as. Something similar to dhis2.de.currentDataSetId or dhis2.de.currentOrganisationUnitId but would look like dhis2.currentUser and at leas