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?
Sorry got it
System.Web.Security.Roles.GetAllRoles()
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With