B Bill Huang Oct 11, 2003 #1 Any one has some working C# code that calls CreateProcessAsUser() to do impersonation? Thanks Bill
G Greg Ewing [MVP] Oct 11, 2003 #2 Bill, always ask google first. Here's some code Google found. http://www.dotnet247.com/247reference/msgs/32/160308.aspx Make sure to make the changes that Mattias suggests.
Bill, always ask google first. Here's some code Google found. http://www.dotnet247.com/247reference/msgs/32/160308.aspx Make sure to make the changes that Mattias suggests.
G Greg Ewing [MVP] Oct 11, 2003 #3 Bill, here's another sample from Willy. http://groups.google.com/groups?hl=...-8&safe=off&selm=ui3kgV1BCHA.2428@tkmsftngp02
Bill, here's another sample from Willy. http://groups.google.com/groups?hl=...-8&safe=off&selm=ui3kgV1BCHA.2428@tkmsftngp02