Ask a Question related to ASP.NET Security, Design and Development.
-
Jim McLeod #1
ASP.NET Context.User.IsInRole XP Problem
Hi guys
I am having a problem with the following line of code on Windows XP Pro. The variable userRole is a string depicting my role on the local machine
Context.User.IsInRole(userRole
Basically when the ASP.NET page that is calling this code is refreshed the IsInRole method returns false when it should be returning true. It's not a consistent error, but it shouldn't be failing all the same
Any ideas
Jim...
Jim McLeod Guest
-
User.IsInRole is always FALSE
Hi, I have the following problem... Pre-requisites: Installation of an Asp.net webservice on a IIS5 server (win2k). Anonymous access is not... -
HttpContext.Current.User.IsInRole
Hi, I have a problem when I am using the HttpContext.Current.User.IsInRole... This is my code: if (HttpContext.Current.User.IsInRole("Admin... -
Custom implementation for User.IsInRole??
I have an app where im using FormsAuthenticaton, and doing my own authentication against a users table in my db. I have no problem actually getting... -
User.IsInRole not redirecting
Hi there, I have been reading up on Authorization and role based security for a couple of days now, and am trying to implement this in my... -
Question: COntext.User.IsInRole
You would set them in your global.asax in the Authenticate event. -- John Saunders Internet Engineer john.saunders@surfcontrol.com "VB...



Reply With Quote

