Expand my Community achievements bar.

User management API/get all the users for a group

Avatar

Former Community Member
Hi all,

I'm trying to get all the users and their associated groups with the user management API. The method DirectoryManagerServiceClient.findGroupMembers(GroupMembershipSearchFilter)

returns all the users, great, but not the associated groups.



TO get the users i use the oid of a "super group" and this "super group" contains severals groups. It's the information about these groups i need.



I have read in the documentation of Principal Object that a search could omit

the group informations for efficiency. How can i bypass this limitation?



Thank you in advance for your help,

Philippe Vandenhove
3 Replies

Avatar

Former Community Member
And i need to know how to create a user. There is a method createLocalUser(User localUser, String password) in DirectoryManagerServiceClient but User is an interface. Does it means that i have to implement this interface to create a user?



Regards,

Philippe Vandenhove

Avatar

Former Community Member
I can send you the steps to look up group members, about creating a user check Avoka.com, they have a component to do that

thanks

mergeandfuse@gmail.com

Avatar

Level 9
Hi Philippe

Our CreateUser component will allow you to create local users and groups.

http://avoka.dnsalias.com/confluence/display/Public/Create+User+Create+Group



LookupGroup takes a group name or id, and returns a list of all members. I'm pretty sure it recursively evaluates contained groups, but you'll need to check. If it doesn't, log a bug to support-at-avoka.com.

http://avoka.dnsalias.com/confluence/display/Public/Lookup+DSC



Download at:

vhttp://www.avoka.com/apps/checkcookie?qpac=y&qpac_code=avokaESComponents&location=%2Fapps%2Fqpacdownload



Howard