You can for example do things like this: *https://play.dhis2.org/demo/api/27/userCredentials.json?fields=username,userRoles[name] <https://play.dhis2.org/demo/api/27/userCredentials.json?fields=username,userRoles[name]>*
On Wed, Jul 19, 2017 at 11:35 PM, Edward Robinson < erobin...@projectbalance.com> wrote: > Thanks Knut, I’ll play around with the API and report back if I get what I > need. > > Ed > > > > *From:* Knut Staring [mailto:knu...@gmail.com] > *Sent:* Wednesday, 19 July 2017 5:16 PM > *To:* Edward Robinson <erobin...@projectbalance.com> > *Cc:* dhis2-users <dhis2-users@lists.launchpad.net> > *Subject:* Re: [Dhis2-users] Quick way to edit users per role? > > > > Probably not exactly what you are looking for, but I think you could > script around this endpoint: > > > > https://docs.dhis2.org/master/en/developer/html/webapi_users > .html#webapi_users_credentials_query > > > > Knut > > > > On Wed, Jul 19, 2017 at 7:42 PM, Edward Robinson < > erobin...@projectbalance.com> wrote: > > Is there a quick way to see all users assigned to a role and add / remove, > or do I have to go through each user in the system to confirm their roles? > > Ta! > > Ed > > > > > _______________________________________________ > Mailing list: https://launchpad.net/~dhis2-users > Post to : dhis2-users@lists.launchpad.net > Unsubscribe : https://launchpad.net/~dhis2-users > More help : https://help.launchpad.net/ListHelp > > > > > > -- > > Knut Staring > > Dept. of Informatics, University of Oslo > > Norway: +4791880522 <+47%20918%2080%20522> > > Skype: knutstar > > http://dhis2.org > -- Knut Staring Dept. of Informatics, University of Oslo Norway: +4791880522 <+47%20918%2080%20522> Skype: knutstar http://dhis2.org
_______________________________________________ Mailing list: https://launchpad.net/~dhis2-users Post to : dhis2-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~dhis2-users More help : https://help.launchpad.net/ListHelp