-
About Change the Password
[Originally posted by raeck]
How can i get the Password for User specified by User Name in
windows2000 ?
Develop's Tool:Visual Basic 6
ÿ thank you.
-
Re:About Change the Password
[Originally posted by FreeVBCode.com]
If you have ADSI installed, you probably can do it through that interface.ÿ Check out <A HREF = 'http://www.freevbcode.com/ShowCode.Asp?ID=1896'>http://www.freevbcode.com/ShowCode.Asp?ID=1896</A>.ÿ I'm pretty sure that this this large application includes a user/password management module.
-
Re:Re:About Change the Password
[Originally posted by raeck]
but it is not successful.
-
Re:About Change the Password
[Originally posted by Duncan]
Not sure that Windows 2000 will let you get the user password, but it will let you change it by the use of the PwdChangePassword API call.
Declare Function PwdChangePassword Lib "mpr" Alias "PwdChangePasswordA" (ByVal lpcRegkeyname As String, ByVal hwnd As Long, ByVal uiReserved1 As Long, ByVal uiReserved2 As Long) As Long
Not sure what lpcRegkeyname is, but a quick search on the internet should find this.
hwnd
Handle of the parent window
uiReserved1
Reserved. Should be set to 0
uiReserved2
Reserved. Should be set to 0
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|