Running an application as another user

Need to run an application under the current user that is invoked by a service run as system.
LVL 13
Corey ScheichDeveloperAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Computer101Connect With a Mentor Commented:
PAQed with points refunded (500)

Computer101
EE Admin
0
 
EDDYKTCommented:
do you want to run 2 copy of the application? Don't quite understand your question
0
 
Corey ScheichDeveloperAuthor Commented:
We are using Windows Messaging to invoke action on the server, the messaging service needs to be run under SYSTEM, so any application it runs is run under SYSTEM which is not aware of network connections or running instances of a program.  So we would like to run an Application that starts another application under the current logged in user instead of SYSTEM
0
 
Corey ScheichDeveloperAuthor Commented:
apparently it is
Process.Start(AppPath,UserName,PassWord,Domain)
0
 
Corey ScheichDeveloperAuthor Commented:
the answer is

Process.Start(AppPath,UserName,PassWord,Domain)
0
All Courses

From novice to tech pro — start learning today.