c# - Calling PrincipalContext.ValidateCredentials with incorrect credentials locks account -


i found following code validate nt domain users, if incorrect password entered many times, account locked out.

is there api call not lockout users if incorrect passwords entered? of course, assuming no change current lockout policy.

using (principalcontext context = new principalcontext(contexttype.domain, domain)) {     return context.validatecredentials(username, password); } 


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -