Assuming that you have a complaint against the current leader. In the "Razor" view:
@((ClaimsIdentity) User.Identity)
This will give you access to the current user's ClaimsIdentity. In an effort to keep your requirements clean, you can create an extension method for claiming.
public static string GetSpecificClaim(this ClaimsIdentity claimsIdentity, string claimType)
{
var claim = claimsIdentity.Claims.FirstOrDefault(x => x.Type == claimType);
return (claim != null) ? claim.Value : string.Empty;
}
Then you can simply access any application you want:
@((ClaimsIdentity) User.Identity).GetSpecificClaim("someclaimtype")
Hope this helps.
:
MVC 5