Domino Java API - retrieving User Groups

I’m trying to retrieve all groups, to which a user (identified by the string representation of his user id) belongs. This is easily done when using a session created with the identification credentials of the user in question. However we are trying to retrieve this information using a session generated using a root level (admin) user account.

Does anyone have any experience with a similar issue/requirement?

Help is very much appreciated!

Take care, Alex

Subject: Domino Java API - retrieving User Groups

If you can build a hidden view within the Domino Directory of group documents categorized by user name for lookups I think it will get part or all of what you seek.

Subject: Domino Java API - retrieving User Groups

Is for you the following an option:

a) scan the ACL’s of the applications concerned

b) scan the groups from the NAB

Subject: Domino Java API - retrieving User Groups

Look at the ($ServerAccess) view in the nab.

Peter Närlund, DomainPatrol

http://domainpatrol.org

Subject: Domino Java API - retrieving User Groups

Is the ldap service running on any of your servers with your address book?

If so, you could use a simple ldap query.

e.g. Home - Geeks with Blogs

Subject: RE: Domino Java API - retrieving User Groups

Is the ldap service running on any of your servers with your address book?

If so, you could use a simple ldap query.

e.g. Home - Geeks with Blogs

The search above only works with Active Directory - objectCategory is an AD-specific attribute, and further more does not unwind nestings!!!

If you want to ask the Domino LDAP server, please read this …

http://www-1.ibm.com/support/docview.wss?rs=463&context=SSKTMJ&dc=DB520&dc=DB560&uid=swg21270777&loc=en_US&cs=UTF-8&lang=en&rss=ct463lotus

Subject: RE: Domino Java API - retrieving User Groups

Ken, i was using an example of the type of query needed. The example has nothing specifically to do with a call from java, nor does it directly apply to the domino directory structure… I am just showing the general concept.

Thanks for the link.