Creating a public folder by using XML

Use the CreateFolder procedure of the Managed Exchange namespace to create a public folder for an Exchange 2000 Server organization.

This procedure performs explicit internal permissions testing. Only members of admins@organization and domain administrators can call this procedure.

Example of a request that calls the CreateFolder procedure

<request>
  <procedure>
	<execute namespace="Managed Exchange" procedure="CreateFolder">
	<executeData>
		<folderPath>myRoot/mySub</folderPath>
		<folderName>f1</folderName>
		<owningOrg>LDAP://ou=Reseller,ou=Hosting,dc=contoso,dc=com</owningOrg>
		<megabytes>100</megabytes>
		<Permissions mode="set">
		<Permission role="Publishing Editor">
			LDAP:// CN=admin1, OU=org1,OU=HostingOU,DC=hostdom, DC=extest,DC=microsoft,DC=com 
		</Permission> 
			<Permission role="Author">
				LDAP:// CN=User1, OU=org1,OU=HostingOU,DC=hostdom, DC=extest,DC=microsoft,DC=com 
		</Permission> 
		</Permissions>
		<preferredDomainController>myPrimaryDC.contoso.com
		</preferredDomainController>
	</executeData>
	</execute>
  </procedure>
</request>

Input for CreateFolder

The following input is valid for this request:

Typical response for CreateFolder

The response to this procedure does not contain significant data.

Important