I'm trying to show a user profile on my site.
For example: "Rank: Owner" But I don't know how to display the rank name. This is the code I currently have:
<p>@if (Model.Roles.Any() != false)
{
<b>@Model.Roles.Any()</b>
}
else
{
<b>Member</b>
}
</p>
But that does only give me this:
System.Collections.Generic.List`1[Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole]
So what do I need to get my role name out?