Click here to Skip to main content
15,903,175 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Friends,

Can anyone please tell how to get the email list from the LDAP server using C#.Net 4.0 in MS Outlook style (like Displaying when we type the Name or Email in the TO field).
At the same time if the user never used that Email then it prompts the window with list of all users in the LDAP Server.


Thanks in Advance..
Harish Reddy.
Posted

1 solution

DirectoryEntry entry = new DirectoryEntry("LDAP://ldap server name");
DirectorySearcher Dsearch = new DirectorySearcher(entry);
return Dsearch.FindAll()
 
Share this answer
 

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