I am able to validate the user using below code: <pre>public string UserValidation(string username, string domain, string password, string url) { var credentials = new NetworkCredential(username, password, domain); var serverId = new LdapDirectoryIdentifier(url); LdapConnection connection = new LdapConnection(serverId, credentials); string result = "true"; try { connection.Bind(); } catch (Exception e) { result = e.ToString(); } connection.Dispose(); return result; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)