2 references to CheckTokenMembership
System.Security.Principal.Windows (2)
System\Security\Principal\WindowsIdentity.cs (1)
495
if (!Interop.Advapi32.
CheckTokenMembership
((til != TokenImpersonationLevel.None ? _safeTokenHandle : token),
System\Security\Principal\WindowsPrincipal.cs (1)
167
if (!Interop.Advapi32.
CheckTokenMembership
((_identity.ImpersonationLevel != TokenImpersonationLevel.None ? _identity.AccessToken : token),