Red Gate forums :: View topic - CreateProcessWithTokenW
Return to RSS Feed Available

Search  | Usergroups |  Profile |  Messages |  Log in  Register 
Go to product documentation
PInvoke.Net forum


Search in PInvoke.Net forum
Post new topic   Reply to topic
Jump to:  
Author Message

Joined: 14 Jul 2007
Posts: 1

PostPosted: Sat Jul 14, 2007 8:08 am    Post subject: CreateProcessWithTokenW Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic All times are GMT + 1 Hour
Page 1 of 1

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Powered by phpBB © 2001, 2005 phpBB Group