Re: find out if the user has enough rights to open a page
From: Joe Kaplan \(MVP - ADSI\) (joseph.e.kaplan_at_removethis.accenture.com)
Date: 05/26/05
- Previous message: Gabriel Giraldo: "Re: Single Sign-On with Forms Authentication"
- In reply to: Corno: "find out if the user has enough rights to open a page"
- Next in thread: Rajesh Kumar: "Re: find out if the user has enough rights to open a page"
- Reply: Rajesh Kumar: "Re: find out if the user has enough rights to open a page"
- Reply: Corno: "Re: find out if the user has enough rights to open a page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Thu, 26 May 2005 09:32:19 -0500
It depends a great deal on how the authorization is being done. Are you
using Windows ACLs or a custom role-based mechanism or something else?
Joe K.
"Corno" <Corno@dds%FAKE%.nl> wrote in message
news:eNW0pJfYFHA.796@TK2MSFTNGP10.phx.gbl...
> Hi all,
>
> How do I find out if the current visitor of my page has enough rights to
> open another page on the same server?
> I need this to show a link to that page only when the visitor can actually
> visit that page and will not get an 'access denied' message.
>
> IOW, I'm looking for the implementation of the following function:
>
> Public Function CurrentUserCanOpenPage(ByVal TheURL As String) As Boolean
> 'determine if the current user can open the page with the given URL
> End Function
>
> TIA,
>
> Corno
>
- Previous message: Gabriel Giraldo: "Re: Single Sign-On with Forms Authentication"
- In reply to: Corno: "find out if the user has enough rights to open a page"
- Next in thread: Rajesh Kumar: "Re: find out if the user has enough rights to open a page"
- Reply: Rajesh Kumar: "Re: find out if the user has enough rights to open a page"
- Reply: Corno: "Re: find out if the user has enough rights to open a page"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|