Share via


Managed Active Directory::DeleteContact

The DeleteContact method deletes a contact.

Arguments

Input Arguments Required Description

<contact>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the contact to be deleted

Remarks

Security

  • Impersonate caller.

Sample Code

Example XML Request

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

Applies To

Managed Active Directory Namespace APIManaged Active Directory Namespace API for:

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

  • Windows-based Hosting version 4.5

  • Windows-based Hosting version 4.0

  • Windows-based Hosting version 3.5

  • Windows-based Hosting for Applications version 1.0

See also

Tasks

Managed Active Directory::CreateContact
Managed Active Directory::ModifyContact
Managed Active Directory::RenameContact