locked
Using ASP.NET to build a "unlock account" site. RRS feed

  • Question

  • User-665222143 posted

    Hello, I am running ASP.NET 2.0 and I am currently trying to build a site so that validated users may unlock their accounts in Active Directory 2008. I have encountered problems with my own designs, and am currently wondering if there are any good tutorials or documents on the subject.


    Thank you very much!

    Thursday, June 3, 2010 4:32 PM

Answers

  • User197322208 posted

    so that validated users may unlock their accounts in Active Directory 2008

    If their account are locked, they can not be validated by the site.

    However, they can unlock other accounts.

    Put in Web.config

    <identity impersonate=true user=<an admin> password=<his password>>

    and write code similar to

    http://www.codeproject.com/KB/system/everythingInAD.aspx


    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Thursday, June 3, 2010 5:39 PM