You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
How do I get a list of all group and their members in specific directory in crowd? I just want to see a display name of user/group. Also a user status, I want to get only users are activating.
I reading Crowd REST API document, but it not mention about Crowd directory, any idea?
The Crowd REST API is built to be accessed by Applications and thus you can fetch details of users which are part of application-directory mapping i.e. your application must be mapped to the directory whose users you want to fetch. You can also create a dummy application for this purpose.
From the docs
This set of REST APIs is intended to be used by applications connecting to Crowd.
I'm using the command below to fetch user membership
curl -u user:pass http://localhost:8095/crowd/rest/usermanagement/latest/group/membership
But it get all users/groups in all Crowd Directories, my expect is only get from one Directory.
Yes, it's easy
please go through the docs here
Retrieves full details of all group memberships, with users and nested groups. This resource is optimised for streaming XML responses, and does not support JSON responses.