Deleting a contact by using XML

Use the DeleteContact procedure of the Managed Active Directory namespace to delete a contact in Active Directory.

This procedure expects to be called with impersonate="1". The procedure impersonates the caller.

Example of a request that calls the DeleteContact procedure

<request>
   <procedure>
	 <execute namespace="Managed Active Directory" procedure="DeleteContact">
	 <executeData>
		 <contact>LDAP://cn=Suzan Fine,OU=Hosting,DC=contoso,DC=com</contact>
	 </executeData>
	 </execute>
   </procedure>
</request>

Input for DeleteContact

The following input is valid for this request:

Typical response for DeleteContact

The response to this procedure does not contain significant data.

Important