Change expired password in AD with C# (使用c# 更改AD 中过期密码)

本文提供了一个使用C#代码解决Active Directory(AD)中过期密码问题的方法。当用户密码过期时,通过一个独立的ASP.NET 2.0 Web应用程序允许用户更改密码。文中提到原有解决方案iisadmpwd已过时,并给出了能够更新本地及域账户过期密码的代码示例。
摘要由CSDN通过智能技术生成

Question:

 

Hello,

I'm looking for a solution to completely replace iisadmpwd with a pure ASP.NET 2.0 solution.

We are using windows authentication with a web application.
If the user's password is expired we need to enable him to change his old password via a web
interface. That can be a complete web application of it's own.

Iisadmpwd seems very outdated and the persons in charge of that particular project won't
accept this 'old-fashioned asp and vb thing' to do the job.

I found a solution to change a local computer account password here: http://forums.asp.net/t/379197.aspx
But this does not work if the account in question has a expired password. So that's not
a thing that is going to help.

I searched half a day here in the forums, on google, on codeplex, but I did n

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值