PC Review


Reply
Thread Tools Rating: Thread Rating: 1 votes, 5.00 average.

CreateProcessAsUser()

 
 
Bill Huang
Guest
Posts: n/a
 
      11th Oct 2003
Any one has some working C# code that calls
CreateProcessAsUser() to do impersonation?

Thanks

Bill
 
Reply With Quote
 
 
 
 
Greg Ewing [MVP]
Guest
Posts: n/a
 
      11th Oct 2003
Bill, always ask google first. Here's some code Google found.

http://www.dotnet247.com/247referenc...32/160308.aspx

Make sure to make the changes that Mattias suggests.

--
Greg Ewing [MVP]
http://www.citidc.com

"Bill Huang" <(E-Mail Removed)> wrote in message
news:011401c38fc8$22d06620$(E-Mail Removed)...
> Any one has some working C# code that calls
> CreateProcessAsUser() to do impersonation?
>
> Thanks
>
> Bill



 
Reply With Quote
 
 
 
 
Greg Ewing [MVP]
Guest
Posts: n/a
 
      11th Oct 2003
Bill, here's another sample from Willy.

http://groups.google.com/groups?hl=e...%40tkmsftngp02

--
Greg Ewing [MVP]
http://www.citidc.com

"Bill Huang" <(E-Mail Removed)> wrote in message
news:011401c38fc8$22d06620$(E-Mail Removed)...
> Any one has some working C# code that calls
> CreateProcessAsUser() to do impersonation?
>
> Thanks
>
> Bill



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:34 AM.