Reputation: 2794
I have an ASP .net MVC 2.0 web site and I am using the membership provider to store users and groups.
How do I get a list of all the roles?
Upvotes: 4
Views: 5231
Sorry got it
System.Web.Security.Roles.GetAllRoles()
Upvotes: 13