Example XML Request
No example XML request.
Example XML Response
<response>
<data>
<orgLdapPath>LDAP://OU=WingTipToys,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</orgLdapPath>
<preferredDomainController>AD01-wh.fabrikam.com</preferredDomainController>
<serverIdentifier>AD01-wh</serverIdentifier>
<zoneName>WingTipToys.com</zoneName>
<rrType>consolidatedmessengerDNS_AType</rrType>
<rrName>www6</rrName>
<commitFlag>COMMIT</commitFlag>
<userName>fabrikam\administrator</userName>
<password>zzzzz</password>
<properties />
</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.
objWS.PreAuthenticate = true;
objWS.Credentials = new NetworkCredential(userName,pass);
lblMsg.InnerHtml = mpsResponseHeaderLabel;
//Display response.
this.mpsResponse.DocumentSource = "";
response = objWS.DeleteResourceRecord(orgLdapPath, preferredDomainController, serverIdentifier, userName, password, zoneName, rrType, rrName, commitFlag, debugLogLevel, debugCheck, propertiesXmlString, true);
// set the response XML to match the return from MPF
responseXml.LoadXml(response);
this.mpsResponse.Document = responseXml;