Results 1 to 4 of 4

Thread: Windows Password

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Location
    Upper Midwest
    Posts
    123

    Question Windows Password

    Hi all. I am wondering if it is possible to read in the encrypted value of a Windows users password so I can preload a textbox with the value?

    I have a checkbox on my .NET form -> Use Workstation Logon

    When the user checks this box, the username and password fields are populated respectively.

    Any help is appreciated. Thanks!

    Gregg

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Windows Password

    The answer is No, and I sincerely hope that never changes.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Location
    Upper Midwest
    Posts
    123

    Re: Windows Password

    Hack, thanks for your reply. I know it is a rediculous question. And I feel the exact same way. However, I just don't want my users to have to re-enter their username and or password everytime they use the application.

    I have successfully authenticated the password when I manually enter it, I just thought it might be possible to load the password (in an encrypted state or something).

    Thanks.

    Gregg

  4. #4
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: Windows Password

    But surely if you want your program to access something using the currently logged on user's credentials then you dont need to do anything at all because the program will already be running under the user's security context... what exactly are you trying to authenticate against?
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width