tags:

views:

249

answers:

2

Hi, is it possible to only list distinct values with an LDAP query? I am getting duplicates of users for some reason but I only want them to be reported once, thank you for your help.

A: 

Linq to Active Directory might help you here:

http://www.codeplex.com/LINQtoAD

IainMH
+1  A: 

I would be more concerned about why an LDAP query is returning users more than once, unless they exist more than once. That would seem to indicate a real issue in your LDAP source.

That pretty much should not be happening.

geoffc