All groups every user in the nab is a member of, included nested

Has anyone devised a way to get a list of all of the groups every user is associated with, including nested groups? I will take a Notes/Domino Directory or an LDAP solution.

I tried using a view in the name and address book, including $search. Unfortunately, it leaves out the nested groups. :frowning:

After reading this forum, I thought I had an answer with @UserNamesList. Unfortunately, that only gives the groups (included nested) for the active user. :frowning: IBM, please release a version of this function that takes the user name as a command @UserNamesList(username)

I hear that other LDAPS flatten groups. It seems the out of the box Domino LDAP schema doesn’t provide this functionality. If someone has configured their LDAP to return this information, I’d appreciate seeing the code.

Any leads, solutions are appreciated.

Thanks,

Roger

Subject: All groups every user in the nab is a member of, included nested

Go to you Domino Administrator. In the Persons and Groups, go to the right pane. Under “Groups”, click manage. In the Manage Groups windos, click “Only member hierarchies”, then look for the user in the left list. This should display all groups associated to a user, even nested groups.

Subject: RE: All groups every user in the nab is a member of, included nested

This works very well. However, is there anyway to get the equivalent list using ldap?

mads

Subject: RE: All groups every user in the nab is a member of, included nested

This works very well. However, is there anyway to get the equivalent list using ldap?

The ND6 Directory FAQ has a pointer to the Collaborative Cuisine’s 1 Hour JNDI Cookbook which describes both the algorithms and Java/JNDI code to perform group membership operations.