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

Change User Credentials on Own Process ?

P: n/a
I have seen examples in .NET 2.0 of calling another process such as this
http://www.theserverside.net/tt/arti...curityFeatures
using
System.Diagnostics.ProcessStartInfo pInfo = new
System.Diagnostics.ProcessStartInfo();
SecureString ss = new SecureString();
pInfo.Password = ss;
pInfo.UserName = @"domain\alice";
.... REALLY simple. BUT ... I have a need to change the context of the one I
am running - because application legacy A( VB6) calls newC#Application, I
want to do the change in credentials n the C# executable.

The code I saw someone else show here is HUGE, has API win 32 API calls as
well -There must be a simple elegant solution for the existing process as
there is for another process..... Any suggestions ? Thanks

--
Andrew
Oct 3 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.