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