Tag - identity core 2

identity core 2

Retrieve Identity username, email and other information in ASP.NET Core

411 views   0 comments last modified about 8 months ago

The identity system in ASP.NET has evolved over time. If you are using ASP.NET Core, you probably found User property is an instance of ClaimsPrincipal in Controller or Razor views. Thus to retrieve the information, you need to utilize the claims.

View detail