Lookup users email address from logged in username via ASP?

mohsinuddin94

New Member
Just wondering - with Windows Integrated Authentication it is possible to return the current logged in username via:\[code\]Request.ServerVariables("LOGON_USER"), "\") \[/code\]Thats easy enough. The tricky part seems to be getting the users email address from Active Directory. There seems to be a number of articles around the internet on how to do this in C#. Things are much scarcer on the ASP front though. Is it something that isn't generally done?I notice the \[code\]Request.ServerVariables\[/code\] doesn't seem to have any properties relating to email addresses that can be called.If anyone could shed any light I would be most grateful :)
 
Back
Top