Re: Allowed roles/users from the web.config
- From: Michael Nemtsev <nemtsev@xxxxxxx>
- Date: Wed, 23 May 2007 11:56:09 +0000 (UTC)
Hello Alexey,
Use WebConfigurationManager, which allows to open any section of config
---
WBR, Michael Nemtsev [.NET/C# MVP]. My blog: http://spaces.live.com/laflour
Team blog: http://devkids.blogspot.com/
"The greatest danger for most of us is not that our aim is too high and we miss it, but that it is too low and we reach it" (c) Michelangelo
AS> Is it possible to get a list of allowed roles/users for a single
AS> page on the site, which use a role based forms authentication?
AS> AS> <authorization>
AS> <allow roles="*">
AS> <deny users="?" />
AS> </authorization>
AS> I know, to view the web.config using System.Xml is not a big
AS> problem, is there any standard implementation to access that
AS> configuration?
AS> AS> Thank you.
AS>
.
- Follow-Ups:
- Re: Allowed roles/users from the web.config
- From: Alexey Smirnov
- Re: Allowed roles/users from the web.config
- References:
- Allowed roles/users from the web.config
- From: Alexey Smirnov
- Allowed roles/users from the web.config
- Prev by Date: Re: What's the best option?
- Next by Date: Re: ASP.NET, a CMS, and application recycling
- Previous by thread: Allowed roles/users from the web.config
- Next by thread: Re: Allowed roles/users from the web.config
- Index(es):
Relevant Pages
|