I'm writing a self service password reset system in c#, .Net 3.5 - one of the things that I need to do is allow users to authenticate with an expired password and give them the ability to change it. Can you, using the System.DirectoryServices or System.DirectoryServices.AccountManagement namespaces validate an expired password? Is there anyway to do it using low level api calls?
我在c#,。Net 3.5中编写了一个自助服务密码重置系统 - 我需要做的一件事是允许用户使用过期的密码进行身份验证,并让他们能够更改密码。您是否可以使用System.DirectoryServices或System.DirectoryServices.AccountManagement命名空间验证过期的密码?无论如何使用低级api调用吗?
Thanks
1 个解决方案
#1
See this question, specifically this answer
看到这个问题,特别是这个答案