Goran Level: Moderator
 Registered: 16-05-2002 Posts: 1681
|
Re: Error 1326 using CreateProcessWithLogonW
You can retreive logged user name using GetUserName API, but it is not the case with password. If user changed password, ask from user to reenter the password. It is not a good policy to store passwords in code, for security reasons, there is a chance for hacker to discover it. Check MS article about handling passwords
____________________________
If you find the answer helpful, please mark this topic as solved.
|