How to get claim inside Asp.Net Core Razor View

前端 未结 3 585
名媛妹妹
名媛妹妹 2020-12-16 12:46

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

3条回答
提交回复
热议问题