title: List User and Role in asp.net identity 2.0
body: <p>How do i display a list of Users and their Roles in ASP.NET Identity 2.0.</p>
  
  <p>Example...</p>
  
  <p>John Doe - Admin
  Bob Smith - User</p>
  
  <p>So far I have created a UserRoleViewModel</p>
  
  <pre><code>public string fname { get; set; }
  public string rname { get; set; }
  </code></pre>
  
  <p>In the controller, I have done the following...</p>
  
  <pre><code>ApplicationDbContext db = new ApplicationDbContext();
  
  UserRoleViewModel obj = new UserRoleViewModel();
  
  var result = from u in db.Users
               select new UserRoleViewModel
               {
                  fname = u.FirstName,
                  rname = ???
               };
  
  return View(result);
  </code></pre>
  
  <p>Is this the correct approach ? If yes, how do i get the role for the user in rname ?</p>