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
Bookmark page javascript. Add to favorites script
PowerShell Active Directory
Dell Inspiron E1505 Battery Fully Charged, But no power to the notebook
How Do you Clear the SSL Cache in FireFox?
SQL Full Backups and Trans Backups
High Memory Usage on VMWare ESXi host
Dropdown box background-color not working only on Safari on MAC
Need some clarification on ESX vs. ESXi vSphere versions
How to use a Unit
Find first space in a cell and show all that is on the left of it