How to Get LoggedIn User Role in Identity ASP NET CORE

preview_player
Показать описание
In this video, I am going to teach you, how to get loggedin user roles from Identity in ASP.NET CORE.
In my application have three roles like Admin, customer and manager. If you want to login in admin account so you get the roles by their email.
Рекомендации по теме
Комментарии
Автор

I want ask you how to know the already user logged in .
Not the role in this case should i add flag ?

zaid