How many role providers are there in ASP.NET ?

 Posted by Ddd on 3/15/2011 | Category: ASP.NET Interview questions | Views: 2569 | Points: 40

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.

3)AuthorizationStoreRoleProvider :

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 | Alert Moderator 

Comments or Responses

Login to post response