execute in context of different user
-
hi, i would like to read the user name and the password from an ini file in vb6 and run the application in the context of this account (the platform is W2K or WXP). Can any one give me a clue how to accomplish that or what api do i need? Many thanks for suggestions, andreas
-
hi, i would like to read the user name and the password from an ini file in vb6 and run the application in the context of this account (the platform is W2K or WXP). Can any one give me a clue how to accomplish that or what api do i need? Many thanks for suggestions, andreas
I think you're looking for the Win32 API function CreateProcessWithLogonW[^].
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007 -
I think you're looking for the Win32 API function CreateProcessWithLogonW[^].
Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
2006, 2007yes,this is the one, thanks