CreateProcessAsUser()

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Bill Huang

    #1

    CreateProcessAsUser()

    Any one has some working C# code that calls
    CreateProcessAs User() to do impersonation?

    Thanks

    Bill
  • Greg Ewing [MVP]

    #2
    Re: CreateProcessAs User()

    Bill, always ask google first. Here's some code Google found.

    Choosing the right web hosting company is one of the most important — and most consequential — decisions you’ll make when starting or growing your website.


    Make sure to make the changes that Mattias suggests.

    --
    Greg Ewing [MVP]
    IT support built exclusively for nonprofits. 25 years of managed IT, help desk, and cybersecurity - so your team can focus on your mission.


    "Bill Huang" <yh4h@cs.virgin ia.edu> wrote in message
    news:011401c38f c8$22d06620$a00 1280a@phx.gbl.. .[color=blue]
    > Any one has some working C# code that calls
    > CreateProcessAs User() to do impersonation?
    >
    > Thanks
    >
    > Bill[/color]


    Comment

    • Greg Ewing [MVP]

      #3
      Re: CreateProcessAs User()

      Bill, here's another sample from Willy.



      --
      Greg Ewing [MVP]
      IT support built exclusively for nonprofits. 25 years of managed IT, help desk, and cybersecurity - so your team can focus on your mission.


      "Bill Huang" <yh4h@cs.virgin ia.edu> wrote in message
      news:011401c38f c8$22d06620$a00 1280a@phx.gbl.. .[color=blue]
      > Any one has some working C# code that calls
      > CreateProcessAs User() to do impersonation?
      >
      > Thanks
      >
      > Bill[/color]


      Comment

      Working...