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
How to align div to center in the CSS
I need to extract strings using regular expression in java
sql server stored procedure and permissions
Cisco VLAN
How can I enable a USB HID device in Window 7 ultimate I have a Serial to USB cable and device (SmartBoard 540)
bring domain to my new server 2003
Can I retrieve all my Windows XP settings and programs after I re-installed Windows on a seperate folder?
Search Form Input Field Dropping in IE
execute sql which is placed in an xml file using Java code
Powershell WMI Query