Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating a Process with an Impersonated User
Message
 
 
To
17/10/2005 07:48:51
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01059576
Message ID:
01060179
Views:
18
This message has been marked as the solution to the initial question of the thread.
>Hi,
>
>I'm trying to make a program that creates a process (by using the CreateProcessAsUser api call), after impersonating to a new user (by using the LogonUser and ImpersonateLoggedOnUser api calls).
>
>The impersonation seems to be working fine, but the CreateProcessAsUser returns an error code.
>
>Below is the prg I'm using to make my tests.
>
>Any help will be appreciated.
>
>Regards,
>
>Fernando
>
>PS. I made up this test program using information contained in Message #88880 and MSDN.
<snip>

See if Re: Anybody using RUNAS utility Thread #948554 helps.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform