Solved

Running an application as another user

Posted on 2007-03-28
7
150 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

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…
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
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…

912 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now