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
Visual Studio 2008 versus Expression Blend?
Windows 2000 crash
How to update a table based on temporary table result set - using db2 stored procedures
Javascript function to add today's date
Pentium D 820/840 compatibility
IE 7/8 CSS selector bug?
Exchange delivery problems in only one direction
Where is the Object Browser in VB 2010 Express Edition?
does php.ini need modification to allow <form> POST method to work?
Best Smart UPS