I have developed a .NET windows service and this is successfully installed and running on my system. However, what I would like to be able to do is to have the windows service run when a user logs onto the system and to have the windows service run as the logged in user.
Currently I know that to start up a service you can specify Local System Account log or to run as a specific user. Given the possibility of different users accessing the machine, the service will need to be able to run on kind of a per user basis with their credential details. I need to find a way to get the credentials without having to prompt or specify the password
I did consider trying to see if it was possible to implement some kind of windows integrated authentication but I'm not sure if this is possible.
Any help on this matter would be greatly appreciated