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