Dear Sir : i want to get all users list in exchange 2007 and 2003 by using ADO to save it in database and use it later in my application i already serch alot of help in internet i found some help but its not working please help me
You need to query Active Directory via LDAP to retrieve directory/address book information there's a good sample on http://www.infinitec.de/articles/exchange/getgal.aspx. Cheers Glen "Abdulfatah A. Reslan" wrote in message news:64DB14CA-954A-477A-833C-BA48BE2C122C@microsoft.com... > Dear Sir : > > i want to get all users list in exchange 2007 and 2003 by using ADO > to save it in database and use it later in my application i already serch > alot > of help in internet i found some help but its not working please help me
That would not work if the Exchange server is hosted over the internet. Does the new WebServices API provide a way to search for users ? Thanks On Apr 28, 2:41 am, "Glen Scales [MVP]" wrote: > You need to query Active Directory via LDAP to retrieve directory/address > book information there's a good sample onhttp://www.infinitec.de/articles/exchange/getgal.aspx. > > Cheers > Glen > > "Abdulfatah A. Reslan" wrote > in messagenews:64DB14CA-954A-477A-833C-BA48BE2C122C@microsoft.com... > > > Dear Sir : > > > i want to get all users list in exchange 2007 and 2003 by using ADO > > to save it in database and use it later in my application i already serch > > alot > > of help in internet i found some help but its not working please help me
Unfortunately not it has the ability to resolve addresses but not search the address books this is a major pain if your dealing with hosted service providers. I suggest talking to your hosting provider to see if they will let you write an application to do what you want and host it on the server. Unfortunately most hosting provider wont agree to this so you need to look at using MAPI eg http://support.microsoft.com/kb/203019 Cheers Glen "ialexei" wrote in message news:77b3984d-5902-4208-b37f-9e778c5052ac@a1g2000hsb.googlegroups.com... > That would not work if the Exchange server is hosted over the > internet. > Does the new WebServices API provide a way to search for users ? > > Thanks > > On Apr 28, 2:41 am, "Glen Scales [MVP]" > wrote: >> You need to query Active Directory via LDAP to retrieve directory/address >> book information there's a good sample >> onhttp://www.infinitec.de/articles/exchange/getgal.aspx. >> >> Cheers >> Glen >> >> "Abdulfatah A. Reslan" >> wrote >> in messagenews:64DB14CA-954A-477A-833C-BA48BE2C122C@microsoft.com... >> >> > Dear Sir : >> >> > i want to get all users list in exchange 2007 and 2003 by using ADO >> > to save it in database and use it later in my application i already >> > serch >> > alot >> > of help in internet i found some help but its not working please help >> > me >