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)
122if (!StringUtil.EqualsIgnoreCase(rp._Username, _Identity.Name)) 144EtwTrace.Trace( EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, "RolePrincipal", _Identity.Name); 151EtwTrace.Trace(EtwTraceType.ETW_TYPE_ROLE_END, HttpContext.Current.WorkerRequest, "RolePrincipal", _Identity.Name); 170if (_Identity != null) 171_Username = _Identity.Name; 173AddIdentityAttachingRoles(_Identity); 222public override IIdentity Identity { get { return _Identity; }} 238if (_Identity != null && !_Identity.IsAuthenticated) 240if (_Identity == null && string.IsNullOrEmpty(_Username)) 247IIdentity id = _Identity; 294if (_Identity == null) 297if (!_Identity.IsAuthenticated) 326if (_Identity == null) 329if (!_Identity.IsAuthenticated || role == null) 390AddIdentityAttachingRoles(new ClaimsIdentity(_Identity)); 410info.AddValue("_Identity", _Identity); 413info.AddValue("_Username", _Identity == null ? _Username : _Identity.Name);