Passing user context to from impersonated thread to outproc COM object
Posted
by Thumbeti
on Stack Overflow
See other posts from Stack Overflow
or by Thumbeti
Published on 2009-06-13T13:04:26Z
Indexed on
2010/06/14
21:02 UTC
Read the original article
Hit count: 321
com
Hi,
I am writing a CPP program on windows 2k3 where i want to achieve the following thing.
Pass the user context from the impersonated thread to a outproc COM component.
Steps what i m trying in details are: 1) Start an execution of exe with user USR1 2) Impersonate the current thread with USR2 3) Initiate a API on outproc COM object. And this COM object should run with USR2
What is happening: on 3rd step, COM object is getting started with USR1 only.
Can anybody help me in passing the user context to COM object.
Thanks in advance, Thumbeti
© Stack Overflow or respective owner