7 writes to _Identity
System.Web (7)
Security\RolePrincipal.cs (7)
46
_Identity
= identity;
58
_Identity
= identity;
74
_Identity
= identity;
92
_Identity
= identity;
249
_Identity
= null;
266
_Identity
= id;
363
_Identity
= info.GetValue("_Identity", typeof(IIdentity)) as IIdentity;
19 references to _Identity
System.Web (19)
Security\RolePrincipal.cs (19)
122
if (!StringUtil.EqualsIgnoreCase(rp._Username,
_Identity
.Name))
144
EtwTrace.Trace( EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, "RolePrincipal",
_Identity
.Name);
151
EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, "RolePrincipal",
_Identity
.Name);
170
if (
_Identity
!= null)
171
_Username =
_Identity
.Name;
173
AddIdentityAttachingRoles(
_Identity
);
222
public override IIdentity Identity { get { return
_Identity
; }}
238
if (
_Identity
!= null && !
_Identity
.IsAuthenticated)
240
if (
_Identity
== null && string.IsNullOrEmpty(_Username))
247
IIdentity id =
_Identity
;
294
if (
_Identity
== null)
297
if (!
_Identity
.IsAuthenticated)
326
if (
_Identity
== null)
329
if (!
_Identity
.IsAuthenticated || role == null)
390
AddIdentityAttachingRoles(new ClaimsIdentity(
_Identity
));
410
info.AddValue("_Identity",
_Identity
);
413
info.AddValue("_Username",
_Identity
== null ? _Username :
_Identity
.Name);