How can I add a Role in the new ASP.NET Identity system (1.0)? There is a UserStore class but no RoleStore class.
UserStore
RoleStore
I can't find any documentation on this issue.
RoleManager = new RoleManager<IdentityRole>( new RoleStore<IdentityRole>(new MyDbContext())); var roleresult = RoleManager.Create(new IdentityRole(roleName));
2.1m questions
2.1m answers
60 comments
57.0k users