I have an ASP.net MVC 2.0 website, and I use a membership provider to store users and groups.
How to get a list of all roles?
Sorry he
System.Web.Security.Roles.GetAllRoles()
Source: https://habr.com/ru/post/1309345/More articles:Open Word with a button on a web page - c #CTRL + click declaration to open a method does not work on Eclipse 3.5 (Galileo) - javaGetting an error (MESSAGE A handler conflict has occurred. This may disable some commands) when starting eclipse - eclipse-pdeHow to sort a multidimensional array using a specific key? - sortingIn Drupal, how do I change the values passed to Pathauto? - drupalHow to create an encryption hash code in ASP.NET MVC? - asp.net-mvcdata type mismatch when comparing dates in MS-Access - sqlobjects in jQuery - javascriptArchitecture Solution for Client-Server Communication Protocol - .nethow dojo.FilteringSelect is configured to match wildcards? - javascriptAll Articles