1 write to _identity
System.Security.Principal.Windows (1)
System\Security\Principal\WindowsPrincipal.cs (1)
38
_identity
= ntIdentity;
6 references to _identity
System.Security.Principal.Windows (6)
System\Security\Principal\WindowsPrincipal.cs (6)
44
public override IIdentity Identity =>
_identity
;
143
if (
_identity
.AccessToken.IsInvalid)
151
if (
_identity
.ImpersonationLevel == TokenImpersonationLevel.None)
153
if (!Interop.Advapi32.DuplicateTokenEx(
_identity
.AccessToken,
167
if (!Interop.Advapi32.CheckTokenMembership((
_identity
.ImpersonationLevel != TokenImpersonationLevel.None ?
_identity
.AccessToken : token),