一聚教程网:一个值得你收藏的教程网站

热门教程

Changing a password using ADSI.

时间:2022-06-30 11:03:26 编辑:袖梨 来源:一聚教程网

Set oUser = GetObject("WinNT://machinename/username")
oUser.ChangePassword "oldpassword", "newpassword"
oUser.SetInfo
Set oUser = Nothing
If (err.number <> 0) Then
    It Failed!
Else
    It was successful!
End if

热门栏目