I am developing Web application in ASP.net 4.0 using MVC.
In my application I am using Exchnage server 2007 for sending email.
I am getting Global Address List from exchange server.
Now the question is how to get LDAP path for Active directory by using UserName, Password and domain name.
Currently what I am doing is I am using DirectoryEntry's object n passing LDAP path for the server which I know in advance.
But what if other unknown exchnage server's credentials am using?