验证在Active Directory中过期密码 [英] Validate Expired Password in active directory

查看:358
本文介绍了验证在Active Directory中过期密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在写一个自助服务密码重置系统,在C#中的.Net 3.5 - 那我需要做的事情之一就是让用户进行身份验证使用过期的密码,让他们去改变它的能力。您可以使用System.DirectoryServices中或System.DirectoryServices.AccountManagement命名空间验证过期的密码?反正是有使用低级别的API调用办呢?

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?

感谢

推荐答案

请参阅<一href="http://stackoverflow.com/questions/290548/c-validate-a-username-and-password-against-active-directory">this问题,特别是<一个href="http://stackoverflow.com/questions/290548/c-validate-a-username-and-password-against-active-directory/291811#291811">this回答

这篇关于验证在Active Directory中过期密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆