Renaud_Larcier | 2020-04-07 12:12:52 UTC | #1
Hello
Is there a way to list all users belonging to a given custom role In the admin interface - I can go to groups - edit membership and see all the users but there is no way to export - since there are more than 350 users in each of those group - Copy and paste from the screen doesn't work nicely either
I'm looking at something similar to the following entries - but for role instead of groups GET/api/v2/groups/{groupId}/members GET/api/v2/groupshere is something similar for members
tx for your help Renaud
Jerome.Saint-Marc | 2020-04-07 12:21:02 UTC | #2
Hello,
You can use GET /api/v2/authorization/roles/{roleId}/users roleId is the id of the role (that you can get with a GET /api/v2/authorization/roles if you don't know the id). This will return the id of users who have this role assigned.
Regards,
Renaud_Larcier | 2020-04-07 12:22:53 UTC | #3
Perfect - exactly what I needed. Not sure how I missed it Tx Renaud
system | 2020-05-08 12:22:56 UTC | #4
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 7498