Hi,
I am trying to get user data (email data actually) from Active Directory.
What I exactly want to do is, getting the email address according to
username from the domain.
For example, when I enter my username DINCERM, it should give me
di*****@domain. com as result.
When I do this:
===
DirectoryEntry entry = new DirectoryEntry( LDAP://DENIZ);
DirectorySearch er searcher = new DirectorySearch er(entry);
searcher.Filter = " (&(objectClass= user)(objectCat egory=person)(m ail=*))";
===
Then I can get all users with an email address available. But how will I be
able to filter it according to the username?
Thank you..