Windows App run-as diffferent user

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dale Leatherman

    Windows App run-as diffferent user

    I need a VB.NET windows application to run as a different user than the
    user. The application needs file permissions that the user can not have.
    Is there an easy way to do this?

    Dale Leatherman


  • Lifeng Lu

    #2
    RE: Windows App run-as diffferent user

    You can start the application with RunAs command. If you need start in your
    code, you can try to use CreateProcessAs User SDK function, to create a
    process to run that app as another user.

    Thanks
    Lifeng
    MS VB team

    Comment

    Working...