create a service in windows that uses the same credentials on another environment

nschwend used Ask the Experts™
Hello all,
I've a problem. I have a service which runs with a user credentials.
I need to use the same credentials to login to another environment.
the programmers and the system administrators don't know these credentials
this service will be written in .Net

there's a way? how?

thank you a lot

Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
If the services uses windows authentication -then the new app can use the same credentials using code access security.


thank you for your reply. The problem is that the second environment doesn't use windows as authentication method.
you can still impersonate the windows credentials using the WindowsIdentity.Impersonate Method

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial