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 find PC public wholesaler in area
DFS Namespace Replication Issue
How to manually install the {75a0fea7-d01e-48b3-ba36-8
cbbdfeef1d
6} ProjChangeRequestStatusLis
t feature
Will a clean OS X server install kill Xserve Raid?
What is the best way to create an external distribution group in Exchange 2010
adding last password change to vbscript (exporting Exchange 2003 mailbox statistics)
Microsoft Server Licence
What does \e mean in a regular expressions?
MS Word Page Numbering - Duplicate number for different signature pages
Password protect new webpage