Is there a way to get additional active directory details from HttpContext.User
?
Currently, I can use it to get the user identity: HttpContext.User.Identity
.
What if I needed to access more attributes, such as employeeId
, directReports
, etc? Can I do it the same way? If not, what's the best way to implement that for an ASP.net / MVC application?