ASP.NET MVC 5 Get users from specific Role
How is it possible to show a List from all users in a specific role. I attach a IdentityRole model to my View with the 'Admin' role assigned to it. So far I only can get the UserId. @model Microsoft.AspNet.Identity.EntityFramework.IdentityRole @Html.DisplayNameFor(model => model.Name) // Shows 'Admin' @foreach (var item in Model.Users) { <tr> <td> @Html.DisplayFor(modelItem => item.UserId) </td> </tr> } A possible solution would be to create a List of the users in the controller and attach this to the View. The problem would be that I also need data from the Role itself. If you are using ASP