Re: Redirection according to roles?
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 08/26/05
- Next message: donotspam: "System.DirectoryServices doens't work"
- Previous message: Dominick Baier [DevelopMentor]: "Re: Disable "prompt me to save passwords" programaticly?"
- In reply to: TheTraveler: "Redirection according to roles?"
- Next in thread: Pat: "Re: Redirection according to roles?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 25 Aug 2005 20:05:20 -0500
What is it that you mean to do with this redirection? Do you simply want to
restrict certain users in certain roles from accessing particular pages, or
do you want to automatically direct different users to different places
based on their roles?
If it is the former, you don't need to do any programming. Just configure
the authorization tags appropriately in your web.config. If you need
different settings for different pages, use the location tag as well to
define different settings for different locations.
Joe K.
"TheTraveler" <ore.ber@gmail.com> wrote in message
news:1124812547.464893.64100@g47g2000cwa.googlegroups.com...
> Hello,
>
> 1. where can i place the code which will redirect users, according to
> their roles ?
>
> 2. is redirection, according to roles accustomed or is there another
> mechanizm out there ?
>
> 3. can this be done inside Application_AuthenticateRequest funcion on
> file: Global.asax ?
>
> 4. i want to emphesize that i want to write this code ONLY ONCE. and
> not for every page or resource that will be added to the project.
>
> please help me with this one,
>
> Ore.
>
- Next message: donotspam: "System.DirectoryServices doens't work"
- Previous message: Dominick Baier [DevelopMentor]: "Re: Disable "prompt me to save passwords" programaticly?"
- In reply to: TheTraveler: "Redirection according to roles?"
- Next in thread: Pat: "Re: Redirection according to roles?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|