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
Configuring Network Secure Access
Crystal Report Viewer - Export to/open a PDF after entering parameters
sql isnull
Windows Batch File STDOUT to console and file
How do I create a looping to add values in columns?
.navigate more than one website in only one IE.7 microsoft windows in VBA Excel
Linux - auto log in to web site
SQL insert not working
Changing Background colors for a column based on contents of cell
IIS 6 MIME type for .prd