The ASP.NET Configuration site mentioned in that tutorial does not even work with SimpleMembershipProvider
.
You will need a few custom pages to do the following:
- List users
- Create/Edit user where you display a list of roles.
Then you can just use the built-in functions such as:
Roles.RoleExists(role)
Roles.CreateRole(role);
Roles.IsUserInRole(username, role)
Roles.AddUserToRole(username, role);
This assumes you are using a built-in provider and the data tables generated by ASP.NET. You can also inherit from the RoleProvider
class and implement your own methods.