using (PrincipalContext pc = new PrincipalContext(ContextType.Domain, domainName))
{
isWindowsAutenticated = pc.ValidateCredentials(username, password);
}
If pass to this code many wrong passwords for a user, then pass in the right password, it still returns false even though the password is definitely correct.
Any suggestions to get around this is appreciated.