I did it in my rc1 project like:
User.Claims.ElementAt(#).Value
But after I switched to rtm it wouldn’t work anymore. When I debug the Razo
Tested in .net core 2.2 in the razor page :
@User.FindFirst("nameOfClaim").Value