Walkthrough: Managing Web Site Users with Roles

A typical requirement for Web sites is to allow only some users (authenticated users) to see certain pages. In ASP.NET, you can use roles to manage user access to Web pages. Roles enable you to apply the same access rules to a group of users, such as managers, administrators, members, and so on. To use roles, you create new roles, assign individual users to one or more roles, and then grant access permissions to the role. Every user in that role is granted the permissions that are defined for that role.

Bron : MSDN
Lees meer…

Leave a Comment.