5 references to WindowsIdentity
mscorlib (5)
system\security\principal\windowsidentity.cs (1)
779if (currentThread.GetExecutionContextReader().SecurityContext.WindowsIdentity != wi)
system\security\securitycontext.cs (4)
485&& prevSecurityContext.WindowsIdentity != null) 649return threadEC.SecurityContext.WindowsIdentity; 661if (cachedAlwaysFlowImpersonationPolicy || prevEC.SecurityContext.WindowsIdentity != targetWI) 666Contract.Assert(_alwaysFlowImpersonationPolicy || currentEC.SecurityContext.WindowsIdentity == targetWI);