Running System.Diagnostics.Process as NT user

G

Guest

I am attempting to create a Process object and run it as the logged on NT
user. How can I set the user context for a Process.

I am running the Process from a web service.

Running .Net 2.0 Beta1; Windows Server 2003

I have gotten it to work by setting the Identiy on the Application Pool set
on the Virtual Directory containing this web service to a specific user.
However, this web service will be called by more than user on the domain,
thus this won't work except for the one user. Is there another option?

Thanks,
Ryan
 
K

Kevin Spencer

Yup. The WebService, like any HTTP server application, always runs under the
same account, regardless of who logs onto it.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Ambiguity has a certain quality to it.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top