title: How to get the ID of Roles for which a user is enrolled in MVC 5
body: <p>I am trying to get an <code>IList&lt;ApplicationRole&gt;</code> of roles in which a user is currently enrolled.</p>
  
  <p>Now in the Usermanager class I see there is a function call <code>IList&lt;String&gt; usersRoles = userManager.GetRoles(id);</code> But it just returns the name of the Role as a string. This doesn't help me as I need the <code>id</code> , <code>name</code> and the <code>description</code> of the role.</p>
  
  <p>How can I make a similar call but receive an applicationRole back and not a string?</p>
  
  <p>here is my model:</p>
  
  <pre><code>   public class ApplicationRole : IdentityRole
  {
      [Display(Name = "Description")]
      [StringLength(100, MinimumLength = 5)]
      public string Description { get; set; }
  
  }
  </code></pre>