Quantcast
Channel: Security
Viewing all articles
Browse latest Browse all 1881

IIS 8.5 - ASP.NET - user isinrole not working

$
0
0

Hello,

We are planning to switch from IIS 6 to IIS 8.5.  The problem is the following command in ASP.NET does not seem to work on IIS8.5:

HttpContext.Current.User.IsInRole("Role")

It is allways returning false, Windows authentication is on.  in IIS 6 there is no problem.

Is there any setting in IIS that could be wrong?

Thanks.

Fredpol


Viewing all articles
Browse latest Browse all 1881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>