Rohan

Rohan

  • NA
  • 1.4k
  • 115k

Refresh Value of Claim

Aug 25 2021 4:54 AM

I have use this  ClaimsPrincipal cp = this.User; and get value from Auth.AspNetUserClaims this table .How to refresh this table value after record add in this table

I have use this code but not working 

  var user = await UserManager.GetUserAsync(User);
        await SignInManager.RefreshSignInAsync(user);

Note- we have refresh page 2 time then get updated value 


Answers (1)