>Some developers here have an ASP.NET application in which they need to query the Exchange Server Address Book to display a filtered list of people to choose from for generating an e-mail.
>
>Some time back I was querying the Exchange Server using a free third party .NET dll but am wondering if a better methodology exists now for accomplishing this task. Since I have not tackled this task recently, is anyone querying the Exchange Address Book data store and how are you accomplishing it?
>
>Thanks,
>Bill
Bill,
Do you mean Exchange Server or Active Directory? I haven't tried Exchange Server, but for AD there is a dll called ADSI that has all of the classes that you need.
FYI, there are two things that make querying AD complex. First, you are limited to 1000 rows in the 'result set' at a time, so to get a complete list may require multiple calls. The second is that the data structure of AD entries is not a static set of properties. So you have to figure out which property your network admin created to hold the email address (and hope that the data was consistently input) and pass that property name to ADSI.
I'm sorry but I don't have any info on Exchange Server. I hope that it is easier to get email addresses from Exchange than AD.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only