Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Exchange
2000.active.directory
2000.admin
2000.announcements
2000.app.conversion
2000.applications
2000.clients
2000.clustering
2000.connectivity
2000.development
2000.documentation
2000.general
2000.information.store
2000.interop
2000.kms
2000.misc
2000.protocols
2000.realtime.collabo.
2000.setup
2000.transport
2000.win2000
admin
application.conversion
applications
clients
clustering
connectivity
design
development
misc
mobility
setup
tools
  
 
date: Tue, 25 Dec 2007 16:30:33 +0200,    group: microsoft.public.exchange.development        back       


Enumerating contacts list for accounts   
Hi,

I want to enumarate contacts list for all accounts in exchange 2000 and 2003
and later 2007 server, using csharp.
Which is the preferred method to do this. Is there any code samples.
Note: The application will be run as a windows service.

Thanks in advance
date: Tue, 25 Dec 2007 16:30:33 +0200   author:   Huseyin Altun

Re: Enumerating contacts list for accounts   
There is no way to do this in one request for all mailboxes on a Exchange 
Server. You need to treat every mailbox as a separate container hence each 
mailbox must be queried individually for the information you require. If 
your using .NET you might want to stick with using WebDAV which is 
documented in the Exchange SDK also have a look at webdav 101 
http://blogs.msdn.com/webdav_101/archive/2006/06/30/652851.aspx.

On Exchange 2007 you can use Exchange Web Services which is a lot more 
developer friendly API.

Cheers
Glen

"Huseyin Altun"  wrote in message 
news:eIfXgKwRIHA.536@TK2MSFTNGP06.phx.gbl...
> Hi,
>
> I want to enumarate contacts list for all accounts in exchange 2000 and 
> 2003
> and later 2007 server, using csharp.
> Which is the preferred method to do this. Is there any code samples.
> Note: The application will be run as a windows service.
>
> Thanks in advance
>
>
date: Mon, 31 Dec 2007 12:33:46 +1100   author:   Glen Scales [MVP]

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us