I am using Windows Authentication in an ASP.net MVC application. I would like to query Active Directory to get a users e-mail address based on the current user:
IPrincipal principal = HttpContext.Current.User;
Is there a way I can use Active Directory to query for their e-mail address?