Click here to Skip to main content
15,886,799 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
Hello,
I need help at following problem:
I query all groups of a user and show them in a listbox. This works well with Active Directory. But on domino server the same code accumulates the groups for different users.

For example: User1 is member of groupA and groupB, User2 is member of groupA and groupC

The first query for User1 is correct, listbox contains
groupA and groupB.

The second query for User2 contains groupA, groupB, groupA and groupC.
The groups of the first query are also returned.

This issue is only on domino server (it's not a listbox failure, the second query return 4 groups). This behaviour continues - another query for User1 now returns 6 groups and so on.

Has someone an idea?
Thanks!
Matt
Posted
Comments
Kim Togo 11-Apr-11 10:24am    
Perhaps you need to "new" the new query object, before you start the query/search ?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900