By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,990 Members | 2,138 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,990 IT Pros & Developers. It's quick & easy.

Execute app under different account.

P: n/a
When you run a service you can execute an app under a different account.

I need to do that with a normal app. I need to run it as admin, even though
I am not logged in as admin.

How can I do this in DOT NET?

thanks,

Shane
Apr 4 '06 #1
Share this Question
Share on Google+
1 Reply


P: n/a
"SStory" <no****@nospam.com> schrieb:
I need to do that with a normal app. I need to run it as admin, even
though I am not logged in as admin.

How can I do this in DOT NET?


Keyword "impersonation". If you are using .NET 2.0, simply pass username
and password to 'System.Diagnostics.Process.Start'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>

Apr 4 '06 #2

This discussion thread is closed

Replies have been disabled for this discussion.