4 references to SafeImpersonate
mscorlib (4)
system\security\principal\windowsidentity.cs (4)
625using (WindowsImpersonationContext wiContext = SafeImpersonate(safeAccessTokenHandle, wi, ref stackMark)) 646using (WindowsImpersonationContext wiContext = SafeImpersonate(safeAccessTokenHandle, wi, ref stackMark)) 684return SafeImpersonate(m_safeTokenHandle, this, ref stackMark); 720return SafeImpersonate(s_invalidTokenHandle, null, ref stackMark);