check if a user's password has expired
1. I would like to find out if there is any .Net way to validate an Active Directory user credential even if the user's password is expired or the user has user must change password at next logon set.I have tried PrincipalContext.ValidateCredential and this returns false for my user. also tried Ldap Bind and that does not work either. My purpose is to authenticate the user and then prompt him with a change password dialog if his password is expired or he has to change passwored at next login.