Solved

Running an application as another user

Posted on 2007-03-28
7
154 Views
Last Modified: 2010-04-30
Need to run an application under the current user that is invoked by a service run as system.
0
Comment
Question by:Corey2
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
7 Comments
 
LVL 26

Expert Comment

by:EDDYKT
ID: 18814956
do you want to run 2 copy of the application? Don't quite understand your question
0
 
LVL 13

Author Comment

by:Corey2
ID: 18815372
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
 
LVL 13

Author Comment

by:Corey2
ID: 18879490
apparently it is
Process.Start(AppPath,UserName,PassWord,Domain)
0
 
LVL 13

Author Comment

by:Corey2
ID: 19137125
the answer is

Process.Start(AppPath,UserName,PassWord,Domain)
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 19184842
PAQed with points refunded (500)

Computer101
EE Admin
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question