WindowsIdentity.GetCurrent() returns SYSTEM when ran from custom action
- by jwarzech
I have an install project that launches a custom action at commit which starts the application that was just installed. During the startup of this application I have a method that checks the current user's name to perform some authentication. When launched from this custom action I am getting 'NTAUTHORITY\SYSTEM' instead of 'DOMAIN\USER'