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?
Hello @Tran Tien Dung
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.
My partner and I were planning this relocation for years. It was our shared dream to try and live in another country. As children of immigrants, we already have experienced this once, but this still ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events