Share via


Managed Active Directory::ModifyContact

The ModifyContact method changes properties of a contact.

Arguments

Input Arguments Required Description

<contact>

Yes

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

<properties>

Yes

Added or modifed properties for the contact

Remarks

Security

  • Impersonate caller.

Sample Code

Example XML Request

<request> 
  <procedure> 
    <execute namespace="Managed Active Directory" procedure="ModifyContact" impersonate="1"> 
      <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>

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::DeleteContact
Managed Active Directory::RenameContact