Last post Nov 06, 2019 08:08 AM by Lewis Lu
Nov 05, 2019 04:23 PM|shreenidhi|LINK
I have a view which basically show user profile like Name, Designation etc.
There is a image box where the Image of logged in user has to be displayed.
Using - ClaimsIdentity / Identity
Nov 06, 2019 08:08 AM|Lewis Lu|LINK
If you already have claims attached to the current principal in your project.You could use this In your Razor view:
This will give you access to the ClaimsIdentity of the current user.You could also refer to the following link :