Use the ModifyContact procedure of the Managed Active Directory namespace to modify a contact in Active Directory.
This procedure expects to be called with impersonate="1". The procedure impersonates the caller.
<request>
<procedure>
<execute namespace="Managed Active Directory" procedure="ModifyContact">
<executeData>
<contact>LDAP://CN=Suzan Fine,OU=Hosting,DC=contoso,DC=com</contact>
<properties>
<property name="description">Senior Flight Instructor</property>
</properties>
</executeDataa>
</execute>
</procedure>
</request>
The following input is valid for this request:
Use the <contact> element to specify the Lightweight Directory Access Protocol (LDAP) path of the contact.
<contact>LDAP://LDAP path of the contact</contact>
In the <properties> element, specify the properties you want to modify, or add new properties that you want to set for the contact.
<properties>
<property name="displayName">New name to display</property>
<property name="givenName">Contact's modified first name</property>
<property name="middleName">Contact's modified middle name</property>
<property name="sn">Contact's modified last name</property>
<property name="initials">Contact's initials</property>
<property name="description">Contact's new description </property>
</properties>
The response to this procedure does not contain significant data.
Important