hi...please provide me help in making connection of ldap with asp.net(c#). as i am a newbie so please give the full source code.
thanks in advance... :)
thanks in advance... :)
DirectoryEntry entry= new DirectoryEntry("LDAP://geo.l.tboglobal.com:389/OU=GBO,DC=tboglobal,DC=com");
entry.AuthenticationType = AuthenticationTypes.Anonymous;
DirectorySearcher searcher = new DirectorySearcher(entry);
searcher.PropertiesToLoad.Add("cn");
SearchResultCollection results = default(SearchResultCollection);
results = searcher.FindAll();
Comment