A
almir
Hi,
under Vista it is not possible to interact with users-desktop msdn
suggests using CreateProcessAsUser and I found a partial
implementation of this method in managed code here
http://odetocode.com/Blogs/scott/archive/2004/10/28/602.aspx however
i do not know how to obtain token of a user which is currently loged
in which means that I have a problem in this line
IntPtr hToken = WindowsIdentity.GetCurrent().Token; //here i get a
service token and I need user token so that i can start application in
its context, what is the right way to do it ?
do you know any other implementation which enables me to start
application so that it is visible by user?
thanks
almir
under Vista it is not possible to interact with users-desktop msdn
suggests using CreateProcessAsUser and I found a partial
implementation of this method in managed code here
http://odetocode.com/Blogs/scott/archive/2004/10/28/602.aspx however
i do not know how to obtain token of a user which is currently loged
in which means that I have a problem in this line
IntPtr hToken = WindowsIdentity.GetCurrent().Token; //here i get a
service token and I need user token so that i can start application in
its context, what is the right way to do it ?
do you know any other implementation which enables me to start
application so that it is visible by user?
thanks
almir