I want to retrieve the list of users assigned to a specific Application, and the groups assigned to each user. Currently I have 3 REST calls:
- to retrieve the Application given the app name
- to retrieve the list of users for a given application
- for each user, to retrieve the list of assigned groups
I’m thinking on ways to make this more efficient. One idea would be to retrieve the groups within an application, and then for each group, to retrieve the list of users. Given there are more users than groups, this would result in less REST calls.
Anyone has other ideas? much appreciated!!