Use CreateProcessWithLogonW to run the runas command.
You'll programmatically enter the user/password as parameters to CreateProcessWithLogonW and it will execute runas under that account without...
CodeGuru Home | VC++ / MFC / C++ | .NET / C# | Visual Basic | VB Forums | Developer.com |
Search:Type: Posts; User: Arjay Search: Search took 0.17 seconds.
Results 1 to 1 of 1
|
Click Here to Expand Forum to Full Width |