With windows authentication, The trust relationship between the primary domain and the trusted domai
Posted
by yamspog
on Stack Overflow
See other posts from Stack Overflow
or by yamspog
Published on 2010-04-12T21:15:28Z
Indexed on
2010/04/12
21:43 UTC
Read the original article
Hit count: 560
windows-authentication
|ASP.NET
I have my asp.net web server setup to use windows authentication.
It is authenticating just fine with my current logged in user.
I can verify this by viewing ...
HttpContext.Current.User.Identity.Name
And I can verify that I am authenticated by viewing...
HttpContext.Current.User.Identity.IsAuthenticated
However, when I call the .IsInRole function I get the trust relationship error...
HttpContext.Current.User.IsInRole("accounting")
I have found online references to problems with supplying domain name with the role name (domain\accounting), but I still get the same error. Any suggestions on where to look or troubleshoot the problem?
© Stack Overflow or respective owner