serializer
Programmer
I am using impersonation functions (WindowsIdentity.Impersonate) to get network access when running as SYSTEM.
I would like to log which user SYSTEM has impersonated as but GetCurrent only returns system. Also, it is possible to impersonate more than once so that SYSTEM gets access to multiple networks.
My qestion is how I can find out which identities my SYSTEM account holds at the moment?
I would like to log which user SYSTEM has impersonated as but GetCurrent only returns system. Also, it is possible to impersonate more than once so that SYSTEM gets access to multiple networks.
My qestion is how I can find out which identities my SYSTEM account holds at the moment?