Change password from an HTML page (directly in IE/CHM/HTA) | |
---|---|
Source code for this Script:
<form Name=Password> Old password : <input Name=OldPassword> New password : <input Name=NewPassword> <input type=button onclick="ChangePassword()" Value="Change Password"> </form> <script language=vbscript> Function ChangePassword() Set Server = CreateObject("UserManager.Server") Server.Select "" Server.ChangePassword document.forms.Password.OldPassword.Value, document.forms.Password.NewPassword.Value MsgBox "Password was changed to " & document.forms.Password.NewPassword.Value End Function </script> |
Properties of servers, enumerating users, logon/logoff to the user administrator account.
ActiveX UserManager is easy to use COM component with classes to create, delete and manage local and remote user accounts, groups, servers and domains in the Windows NT (2000/XP) environment. You can simple work with user accounts and groups from VBA, VBS/JS, ASP and T-SQL programming environment.
© 1996 - 2009 Antonin Foller, Motobit Software | About, Contacts | e-mail: info@pstruh.cz