Microsoft
Software
Hardware
Network
Question : User.isInRole always return false
Hi, I have the following problem...
I have Asp.net Mvc2 App (C#) on a IIS6 server (win2003). Anonymous
access is not allowed, only using windows authentication (intranet app),
my code :
System.Security.Principal.
IPrincipal
User;
User = System.Web.HttpContext.Cur
rent.User;
if (User.IsInRole("AMU\\Denta
lReg")) // always return false
and i'm sure the logged user is amember from this security group
When I change group to "domain admins" -> it runs fine
Does anyone know more about this issue?
Answer : User.isInRole always return false
By the way that is 32,767.
Random Solutions
encrypt database connection string ASP / MS Access
Empty DFS Shares
ms sql calculation in wrong
Javascript when "." pressed tab the form
Is there a VB6 addin to view Word 2007 documents?
Removing numbers after underscore
Is it possible to allow standard users to change DPI settings via scripting in Windows XP?
ASA 5505 DMZ Configuration
In Symantec Backup Exec 12, how do I change the backup destination (that is defined in my current backup jobs) from being a tape to being an external hard drive?
Trouble with clarklab dropdown