Getting list of Exchange Users Through WebDav
Exchange Server Forum Index Exchange Server
Discussion forums for Microsoft Exchange Server users.
Microsoft Outlook
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web ExchangeServerHelp.com
Getting list of Exchange Users Through WebDav

 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development
Author Message
John Smith
Guest





Posted: Wed Sep 14, 2005 12:59 am    Post subject: Getting list of Exchange Users Through WebDav Reply with quote

Hi,

I'm new to WebDav, so forgive the newbness.

I need to use WebDav to retrieve me the list of all Exchange Users and their
email addresses. I've searched and I've searched for a sample script that
does it.

I got it to retrieve a specific Exchange user's contact list for me....but
as I've come to realize, this does me no good because most contacts aren't
listed since they are Exchange Users. Here is the code I used though (which
works fine). What needs to be modified here though to get the Exchange
Users? Thx

MSXML2.ServerXMLHTTP30 oXmlHttp = new MSXML2.ServerXMLHTTP30();
oXmlHttp.open("PROPFIND", "http://ourServer.com/Exchange/theUser/Contacts",
false, "Domain\\theUser", "thePassword");
oXmlHttp.setRequestHeader("Depth", "1");
oXmlHttp.setRequestHeader("Content-type", "text/xml");
oXmlHttp.send("");
Response.Write(oXmlHttp.getAllResponseHeaders());
Response.Write(oXmlHttp.responseText);

Back to top
John Smith
Guest





Posted: Wed Sep 14, 2005 4:59 pm    Post subject: Re: Getting list of Exchange Users Through WebDav Reply with quote

Can it be done from a client machine without using an API that must be
purchased?
Back to top
Henning Krause [MVP - Exc
Guest





Posted: Wed Sep 14, 2005 4:59 pm    Post subject: Re: Getting list of Exchange Users Through WebDav Reply with quote

Hello,

that example does not use the WebDAV API from IndependenSoft.

It only uses the System.DirectoryServices.* classes, which are included in
the .NET Framework by default.

Greetings,
Henning Krause
MVP - Exchange
http://www.infinitec.de

Back to top
John Smith
Guest





Posted: Wed Sep 14, 2005 4:59 pm    Post subject: Re: Getting list of Exchange Users Through WebDav Reply with quote

Aghh...Ok. I'm sorry.
Back to top
jimbothegrey



Joined: 29 Oct 2006
Posts: 1

Posted: Sun Oct 29, 2006 10:27 am    Post subject: any success. Reply with quote

Any success with this?
I am digging into it for a while now. and I really dont want to start using RPC over http (sounds too complicated).

J.
Back to top
View user's profile Send private message
 
Post new topic   Reply to topic    Exchange Server Forum Index -> Development All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Windows Server Dedicated Servers
New Topics Powered by phpBB