How can I find out whether a user has permissions to see a page or not?
From: Ramiro Calderon Romero (rcrdev@hotmail.com)
Date: 07/30/02
- Next message: jeff: "how do I code a user created subdirectory?"
- Previous message: Michael Books: "Re: restricting access by IP addresses"
- Next in thread: Christopher Zacharias: "How can I find out whether a user has permissions to see a page or not?"
- Reply: Christopher Zacharias: "How can I find out whether a user has permissions to see a page or not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: "Ramiro Calderon Romero" <rcrdev@hotmail.com> Date: Tue, 30 Jul 2002 13:40:41 -0500
Hi all,
I'm working in a Web App that might be used for several users, with
different permissions. I'm using web.config files in order to grant/deny the
access to those pages I want to protect, and it works just fine so far.
Now what I want to do is render the menu as a user control or such, but I
need to know what pages the current user is allowed to see, and I think
there must be some way to find this out by checking the web.config file's
hierarchy somehow, but I'm not sure if there's another way to solve it. The
WMI classes exposed by the .NET Framework could be helpful as well, but in
[1] states these clases possibly have a bug.
[1]
http://discuss.develop.com/archives/wa.exe?A2=ind0207C&L=DOTNET-WEB&D=0&I=-3
&P=6926
Regards,
Ramiro Calderon
rcrdev@hotmail.com
- Next message: jeff: "how do I code a user created subdirectory?"
- Previous message: Michael Books: "Re: restricting access by IP addresses"
- Next in thread: Christopher Zacharias: "How can I find out whether a user has permissions to see a page or not?"
- Reply: Christopher Zacharias: "How can I find out whether a user has permissions to see a page or not?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|