Hi!
I'm writing in C# under .NET 2.0, WINXP SP 2
My application runs under a different set of permissions
than the ones
I logged in with (once I log in I use Process.Start and
provide the
details of the user under which the application runs).
Now, for impersonation purposes, I need to fetch the logged
in user's
token.
Neither Environment nor SystemInformation get me what I need
since
they only deal with the current thread or process.
I tried fetching the Explorer process's token but I can't
access its
handle because I don't have the necessary permissions
through the
application (even though the application's running under
local
administrator while the logged in user does not).
Help?
~Day
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the
Google Groups "C-Sharp (C#)" group.
To post to this group, send email to C_Sharp googlegroups.com
To unsubscribe from this group, send email to
C_Sharp-unsubscribe googlegroups.com
For more options, visit this group at http://g
roups.google.com/group/C_Sharp?hl=en
-~----------~----~----~----~------~----~------~--~---
|