p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   ASP.NET 1.0 and 1.1 Professional (http://p2p.wrox.com/forumdisplay.php?f=57)
-   -   Is IsInRole change if changes to ActiveDirectory (http://p2p.wrox.com/showthread.php?t=19151)

alyeng2000 September 29th, 2004 09:25 AM

Is IsInRole change if changes to ActiveDirectory
 
Hi All,
1- I am Using Windows Authentication
2- Authentication Made Based who is in Domain Group Can Access WebPage
3- Also I am Using IsInRole

Could I Do SomeThing to Stop Certain User Immediatly While He is Navigating the site..

i know that the user must logoff so he can get the new privileges

Any Help



Ahmed Ali
Software Developer

bmains September 29th, 2004 09:57 AM

Put a routine in the Page load that if they aren't in the right role, that they can't access it (by throwing an error, such as System.Security.SecurityException).

Brian

alyeng2000 September 29th, 2004 02:13 PM

user must logoff so he can get the new privileges


Ahmed Ali
Software Developer

bmains September 29th, 2004 02:20 PM

Yes, that seems like that is the action needed to get new permissions, is that no good?


All times are GMT -4. The time now is 02:09 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.