Announcements and discussion for PInvoke


Postby hk11 » Sat Jul 14, 2007 7:08 am

Can someone publish C# code to make use of CreateProcessWithTokenW function, so that i can run process just by getting token from current user, instead of passing user/pw for every run (WindowsIdentity.GetCurrent().Token)

Basically trying to extend impersonation functionality to disconnected functions like Process.Start()

Impersonation example:

Many thanks.
Posts: 1
Joined: Sat Jul 14, 2007 7:05 am

Return to PInvoke.Net

Who is online

Users browsing this forum: No registered users and 0 guests