
March 9, 2009 09:20 by
Simon
This post includes code for setting permissions on public folders. It works by obtaining the xml describing the existing permissions and then using that as the basis of the xml sent with a PROPPATCH WebDAV command to udate the permissions. I found it very difficulty to find documentation that described how to put together the xml for all of the problems in this series of posts, but especially when I wanted to set permissions on folders - there are rules about the order that ACE's appear in the cml document etc. Fortunately I came across the PFDAVAdmin tool which helped considerably.More...
f1662ae3-3079-4b11-872e-e1d25832454a|0|.0

February 28, 2009 16:29 by
Simon
To move an item in a public folder you need to send a MOVE WebDav command together with the URI of the item to move - the destination URI should be added to the request as a HTTP header. The following code moves the contents of one folder to another by searching for all of the items in the source folder and looping through them and moving them one at a time to the destination folder.More...
80ce2fa4-1549-41d4-9ced-3b716229b39b|0|.0

February 28, 2009 16:18 by
Simon
Below is the code for creating a public folder in exchange. Basically you need to send a MKCOL WebDav command to the server together with xml to set further options such as whether or not to enable email for the folder.More...
ab4c57a3-9c51-467e-accb-f33e50c6cbb1|0|.0

February 26, 2009 19:47 by
Simon
If Outlook Web Access (OWA) is enabled you simply need to send a HTTP request to the server at the URL http://<server>/exchweb/bin/auth/owaauth.dll, passing the username and password as parameters. If authentication is succesful, two cookies will be returned with the response which should be stored and passed with subsequent requests to the server:More...
f9076ba9-cde4-44f3-a1ea-f72fc5810285|0|.0

February 26, 2009 19:25 by
Simon
It is possible to interface with exchange - create public folders etc, using WebDAV. The next few posts will include code and an explanation of how to go about doing a number of things such as creating public folders. In order to be able to do anything you need to be able to send WebDAV xml documents via an Http request, below are a number of methods which can be used to do this, subsequent posts will make use of these methods. More...
3e711e7f-5dd6-4734-8446-2e921f48c3c2|0|.0