Accessing Active Directory

M

Markus Alexander

Hello there

I've got a little problem when trying finding the person behind a global
address book entry.
Some background infos: I have an Webservice which looks up some Contacts in
the public folder of an Exchange Server 2000. I read the eMailaddress, but
its normally an "EX" entry which means that it points to the global address
book entry of the Contact. Then I use directoryservices and make a query on
this field to get the SMTP addres of the person. This works very good when I
use my test application - I get the eMail-Address. But when I run the same
code in a WebService every field of the Person I get is Null except of the
adsPath.

Does anybody know what I'm doing wrong? Is there another way to get the SMTP
address of a contact?

Thans
Markus Alexander
 
J

Jan Tielens

You should check if the account that your web service is using to access the
AD has enough rights (probably this is the ASPNET account).

--
Greetz

Jan Tielens
________________________________
Read my weblog: http://weblogs.asp.net/jan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top