0

I'm in the process of writing an HTTPModule in C#.NET that manages unhandled errors by our applications on a particular server. Some users are in our domain, some are anonymous. How can I determine in my HTTPModule whether the user is anonymous or from our domain?

Ray
  • 4,679
  • 10
  • 46
  • 92

1 Answers1

0

First in IIS you have to activate Windows authentication. Then you have access to the current user with HttpContext.Current.User.Identity

Mart
  • 5,608
  • 3
  • 32
  • 45