← Back to team overview

dhis2-devs team mailing list archive

Re: Can I get the User Orgunit through the Web API?

 

Hi,

if what you need is current user org unit you can use this too:

http://apps.dhis2.org/dev/api/me.json

Lars


On Wed, Jun 11, 2014 at 8:04 AM, Knut Staring <knutst@xxxxxxxxx> wrote:

> Great, thanks. Please also see my other question about getting the Root
> (or Roots, of course...)
>
>
> On Wed, Jun 11, 2014 at 8:02 AM, Jan Henrik Øverland <
> janhenrik.overland@xxxxxxxxx> wrote:
>
>> organisationUnits.json?userOnly=true
>> On Jun 11, 2014 7:50 AM, "Knut Staring" <knutst@xxxxxxxxx> wrote:
>>
>>>  I can access usersettings here:
>>> http://www.dhis2.org/doc/snapshot/en/user/html/ch30s28.html
>>>
>>> But can I also access the usermembership table?
>>>
>>> --
>>> Knut Staring
>>> Dept. of Informatics, University of Oslo
>>> +4791880522
>>> http://dhis2.org
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>
>
> --
> Knut Staring
> Dept. of Informatics, University of Oslo
> +4791880522
> http://dhis2.org
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>

References