Exchange Resource Manager::ReallocateOrganizationPublic
This procedure changes the amount of public folder storage that an organization is permitted to use. This procedure will fail if there is insufficient room in the organization's current public folder store for the requested new storage.
Arguments
Input argument | Required | Description |
---|---|---|
organization |
No |
LDAP path of the organization owning the resource. |
megabytes |
No |
The new total amount of storage available for public folders. The <megabytes> parameter is relative. Positive numbers increase the allocation. Negative numbers reduce the allocation. |
preferredDomainController |
No |
|
sendCredentials |
No |
True if credentials will be included in the xml request. |
Remarks
Method Syntax
public string ReallocateOrganizationPublic(
string organization,
string megabytes,
string preferredDomainController,
bool sendCredentials)
Sample Code
Example XML Request
No example XML request.
Example XML Response
<response>
<data>
<organizations>
<organization>
<GUID>{ee5c82e7-a0ec-4989-ac40-5994337bd8a1}</GUID>
<path>LDAP://OU=ExchOrg1,DC=raven01,DC=com</path>
</organization>
<organization>
<GUID>{5696e179-4857-4fb2-8b82-f062ad1aff3c}</GUID>
<path>LDAP://OU=ExchOrg2,DC=raven01,DC=com</path>
</organization>
</organizations>
</data>
</response>
Typical C# Usage
//Get user name and password.
string userName = this.Request.ServerVariables.Get("AUTH_USER");
string pass = this.Request.ServerVariables.Get("AUTH_PASSWORD");
//Set credentials.
ExchRM.PreAuthenticate = true;
ExchRM.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
//Display response.
this.mpsResponse.DocumentSource = "";
response = ExchRM.ReallocateOrganizationPublic(preferredDomainController, megabytes, sendCredentials);
// set the response XML to match the return from MPF
responseXml.LoadXml(response);
this.mpsResponse.Document = responseXml;
lblDone.InnerText = successMsg;
Applies To
Web Services API for:
Hosted Messaging and Collaboration version 3.5
Hosted Messaging and Collaboration version 3.0