I'm trying to reset a password in Active Directory on a Windows 2000 Advanced Server. It's not really working with the code I have. Any ideas on how do this utilizing the ASP.NET Framework 1.1 (in VB.NET please). ANY help is much appreciated.
'create the pathname
Pathname = "WinNT://server.domain.com/NetID,user"
'Reset the password
'Create the object
Usr = GetObject(Pathname)
Usr.AccountDisabled = False
Usr.Put("PasswordExpired", CLng(1)) ' User must change password at next logon.
View Complete Post