ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
info       Did you received any Funny E-Mails from your Friends and like to share with rest of our friends? Yeah!! you can post that stuff   HERE
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  ASP.NET
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
What is role manager work in web.config?

how to restrict perticular pages from the users using the
role manager?
 Question Submitted By :: Sharifuddin
I also faced this Question!!     Rank Answer Posted By  
 
  Re: What is role manager work in web.config? how to restrict perticular pages from the users using the role manager?
Answer
# 1
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 ?    2 Yes 1 No
Nisarg Shah
 

 
 
 
Other ASP.NET Interview Questions
 
  Question Asked @ Answers
 
can u create two Primary key for a table? --Sivaa BirlaSoft8
# What is the transport protocol you use to call a Web service?  1
To call a Web service which transport protocol you can use?  3
Where do you store the information about the user?s locale?  2
what is diference between the .net1.0 & .net2.0 ? EMax2
What event fired during, when datagrid click?  1
What are the different types of Session state management options available with ASP.NET?  1
If we add a textbox and give the required field validator,and i add two radio buttons 1 is yes another one is No.And i add another one server control button ,if i click the button ,if the radio button Yes is checked the validation control is fired ,if no the validation control is not fired.So what you used to solve this problem. CTS6
How many types are there session TCS5
I am using a range validator and want to use dd mm yyyy format for accepting dates. I get a fairly generic "can't do that" type exception when I use this format for setting the minValue or maxValue properties for the range validator. How can I force it to accept my format? FutureTech1
which one is faster execute reader, scalar, execute non query ? Minecode16
how to add cliet side event to server side? and how to register client script to sever side? wt difference these two PSI-Data-Systems3
What is the difference between Proxy and Contract?  1
If i have 1000 records in dataset, how to do paging? Mind-Tree2
why many web.config files are used in are project  2
Types of caching ? TCS3
Difference between Dataset and DataReader ? Accenture4
how can i insert array values and retreive in asp.net TCS3
Can the validation be done in the server side? Or this can be done only in the Client side?  2
difference between gridview,data list and repeater control Olive-Tech4
 
For more ASP.NET Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com