Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


What is role manager work in web.config?

how to restrict perticular pages from the users using the
role manager?



What is role manager work in web.config? how to restrict perticular pages from the users using th..

Answer / nisarg shah

Role manager work -
Role management helps you manage authorization,
which enables you to specify the resources that users in
your application are allowed to access. Role management
lets you treat groups of users as a unit by assigning users
to roles such as manager, sales, member, and so on. (In
Windows, you create roles by assigning users to groups such
as Administrators, Power Users, and so on.)


Web.config code to restrict users from accessing some pages
given as below : -

<configuration>
<location path="memberPages">
<system.web>
<authorization>
<allow roles="BUILTIN\Administrators" />
<deny users="*" />
</authorization>
</system.web>
</location>
<!-- other configuration settings here -->
</configuration>

Is This Answer Correct ?    7 Yes 3 No

Post New Answer

More ASP.NET Interview Questions

Explain the difference between page.registerclientscriptblock and page.registerstartupscript?

0 Answers  


What I need to create and run an asp.net application?

0 Answers  


What is the extension of master page in asp.net?

0 Answers  


What is a 1x1 pixel?

0 Answers  


What are the different properties of server control that exists?

0 Answers   Cap Gemini,


how to convert from sql2000 numeric to int in asp.net with sqlparameter?

1 Answers  


what is machine key error in asp.net? how to solve it?

1 Answers  


What is a postback ispostback and autopostback in asp net?

0 Answers  


What is the difference between the response.write() and response.output.write() methods?

0 Answers  


What is the main function of url routing system in asp.net mvc? : asp.net mvc

0 Answers  


What is the concept of view state in asp.net?

0 Answers  


What type of code (server or client) is found in a Code-Behind class?

3 Answers   Siebel Systems,


Categories