A role is a group of users who are uniqely identified by the set of privileges they are given. A typical website has three roles:

  • Administrator
  • Power User
  • User

An administrator has all privileges over the particular site while power user and ordinary users don't have.

Creation of Roles

Roles can be created in various ways. The typical process of role creation involves using the Role Manager tag in Web.config


Roles can also be assigned or modified programmatically using the Role class.

Using the Website Administration Tool

Roles can be created in .NET 2.0 using the ASP.NET Website Administration tool. This tool is available in the Solution Explorer toolbar.

The tool allows the user to change

  • Security settings
  • Application Configuration
  • Provider Configuration

A few snapshots of the tool are availabe below. These snapshots are self-explanatory:

WebSite Admin Home.JPG

Website Admin Security.JPG

Website Admin Security Roles.JPG


Role Class in C#, MSDN site

Advanced ASP.NET Topics

A Quick ASP.Net Summary

This article uses material from the Wikipedia page available here. It is released under the Creative Commons Attribution-Share-Alike License 3.0.


Manage research, learning and skills at IT1me. Create an account using LinkedIn to manage and organize your IT knowledge. IT1me works like a shopping cart for information -- helping you to save, discuss and share.

  Contact Us  |  About |  IT Training & References |  IT Careers |  IT Hardware |  IT Software |  IT Books