About Change the Password


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: About Change the Password

  1. #1
    Join Date
    Aug 2004
    Posts
    43,023

    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.

  2. #2
    Join Date
    Aug 2004
    Posts
    43,023

    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.

  3. #3
    Join Date
    Aug 2004
    Posts
    43,023

    Re:Re:About Change the Password

    [Originally posted by raeck]

    but it is not successful.

  4. #4
    Join Date
    Aug 2004
    Posts
    43,023

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center