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 least give me the UID of the user if not their username/email.
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 least give me the UID of the user if not their username/email.