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
Hacked index.php file does not retain permissions anymore
VS 2008 C# Make Non-Modal behave as Modal
How can I grep 2 digital year information in Redhat linux
How do I test for a null value in a datagridview cell
Terminal Services connections and Exchange 2010
Windows 7 printing on Citrix Windows Server 2003
how to repair a corrupted PST
Setjob function in server 2008
How to choose Internet Wireless for PC Desktop + Different between Cable and Wireless ?
How do I prevent my app from being indexed by search engines