当用户帐户密码过期时,如何通过基于Web的应用程序重置用户帐户密码 [英] How to reset user account password by web-based application when an user account password is expired

查看:142
本文介绍了当用户帐户密码过期时,如何通过基于Web的应用程序重置用户帐户密码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的,


我需要编写一个基于Web的.NET应用程序,它可以重置Windows AD域用户帐户密码,即使用户帐户的密码已过期。我已经研究了一段时间,当帐户密码过期时,我找不到任何Windows系统API来更改用户帐户
密码。任何人都可以告诉我如何做到这一点?任何有关它的信息都非常感谢。非常感谢提前。

解决方案



请参考以下链接,您可以通过代码示例找到答案。



http://www.zachhunter.com/2010/04/reset-network-password-in-c/


Dear all,

I need to write a web-based .NET application that it can reset Windows AD domain user account password even when the password of user account has expired. I have researched for a while that I cannot find anything Windows system API to change user account password when the account has expired password. Can anyone shed me light how to do it? Any information about it is greatly appreciated. Thanks a lot in advance.

解决方案

Hi,

Please refer below link, you would find your answers with code sample.

http://www.zachhunter.com/2010/04/reset-network-password-in-c/


这篇关于当用户帐户密码过期时,如何通过基于Web的应用程序重置用户帐户密码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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