Roles are basically classes that provide us with features to implement authorization for a group of users.
example: A role known as Managers can be used to provide access to a particular folder in the web site
to a group of users under its name.
3 role providers are there in ASP.NET
1) SqlRoleProvider : we can store role information in SQL Server database
2)WindowsTokenRoleProvide r: we can use Windows user accounts to represent roles.
Manages storage of role-membership information in XML File/Active Directory
/Active Directory Application Mode (ADAM)
The above are all the classes defined by System.Web.Security namespace.
Asked In: Many Interviews |