| Author |
Message |
John Smith
Guest
|
Posted:
Wed Sep 14, 2005 12:59 am Post subject:
Getting list of Exchange Users Through WebDav |
|
|
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 |
|
|
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 |
|
|
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 |
|
|
| 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. |
|
|
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 |
|
 |
|
|
|
|