I’m debugging a thread impersonating a currently logged on user in a Windows service process running under SYSTEM account. How could I determine the current impersonation level (as in whether impersonation or delegation was used) either programmatically, or using Visual Studio debugger or other tools?
I’m debugging a thread impersonating a currently logged on user in a Windows service
Share
Simplest way is via Visual Studio
$userpseudo variable.