I have use this for cliam value (get value from cliam) ClaimsPrincipal cp = this.User;
var username = this.User.FindFirstValue(ClaimTypes.Name); But I have here one issue not get updated value without logout and after 2 time page refres .Please help me how to get updated value after upadate without logout and 2 time page refresh.