How to find out the user account (Local System/User etc) a service is set to run under ("Log On As")?
Unlike this similar question this code can't run from within the service itself and the service may not be running.
The System.ServiceProcess.ServiceController class has useful methods for getting the status but not the "Log On As" user.