I am using the System.DirectoryServices.UserPrincipal.Current.EmailAddress to fetch the Currently logged in users email from AD.
If debug my sol am getting the Exact mail id of that Particular user for ex:firstname.lastname@example.org.
If i host My Application on iis
And Access my App am getting some other Email id instead of the email@example.com.
I have changed the Application Pool identity to NetWorkService.
Can any one tell what could be wrong
View Complete Post