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
Update field in table with unbound field on form.
Not able view Thumbnails of psd files
MAC, OS 10.4: How to Remote access (like VNC) without installing a software
c# .net - get command line argument on form load
VBA to import specific Excel WKSTs into Access database.
Terminal Server license settings
Store date in sql table as yyyy/mm/dd hh:mm:ss using type DATETIME.
PHP5.3+ & MySQL connector issues
export data from outlook body to excel
How to Shutdown an EMC Centera