title: How can I get the user role name in ASP.NET Update3?
body: <p>I am currently doing an ASP.NET Web Application under MVC in C# using Individual User Accounts. I need to get the Role names for a user. In a previous version the following code would have worked:</p>
  
  <pre><code>            foreach (var role in userObject.Roles)
              {
                  appUser.RolesForUser.Add(role.Role.Name);
              }
  </code></pre>
  
  <p>but now after doing Update 3, I now get:</p>
  
  <p>Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' does not contain a definition for 'Role' and no extension method 'Role' accepting a first argument of type 'Microsoft.AspNet.Identity.EntityFramework.IdentityUserRole' could be found (are you missing a using directive or an assembly reference?</p>
  
  <p>I would like to know how I can get role names with the new standard. Thanks for any solutions!</p>