dhis2-users team mailing list archive
-
dhis2-users team
-
Mailing list archive
-
Message #13762
Re: Quick way to edit users per role?
-
To:
Knut Staring <knutst@xxxxxxxxx>
-
From:
Edward Robinson <erobinson@xxxxxxxxxxxxxxxxxx>
-
Date:
Wed, 19 Jul 2017 21:35:31 +0000
-
Accept-language:
en-US
-
Authentication-results:
gmail.com; dkim=none (message not signed) header.d=none;gmail.com; dmarc=none action=none header.from=projectbalance.com;
-
Cc:
dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>
-
In-reply-to:
<CAL=8=NivcVsh3o9PykVmM49sje4YwVESEvOAj4eVdAQ0drNPGQ@mail.gmail.com>
-
Spamdiagnosticmetadata:
NSPM
-
Spamdiagnosticoutput:
1:99
-
Thread-index:
AdMAtZZwQLsdxBH0RIey0fMjY9eg2AAHpGuAAAAuDFA=
-
Thread-topic:
[Dhis2-users] Quick way to edit users per role?
Thanks Knut, I’ll play around with the API and report back if I get what I need.
Ed
From: Knut Staring [mailto:knutst@xxxxxxxxx]
Sent: Wednesday, 19 July 2017 5:16 PM
To: Edward Robinson <erobinson@xxxxxxxxxxxxxxxxxx>
Cc: dhis2-users <dhis2-users@xxxxxxxxxxxxxxxxxxx>
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 <erobinson@xxxxxxxxxxxxxxxxxx<mailto:erobinson@xxxxxxxxxxxxxxxxxx>> 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@xxxxxxxxxxxxxxxxxxx<mailto:dhis2-users@xxxxxxxxxxxxxxxxxxx>
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
--
Knut Staring
Dept. of Informatics, University of Oslo
Norway: +4791880522
Skype: knutstar
http://dhis2.org
Follow ups
References