Hosted Active Directory::SetProperties

The SetProperties method sets one or more properties for an object.

Arguments

Input Arguments Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of the object to set properties for.

<properties>/<property name="..">/<value>

Yes

Active Directory property value.

<preferredDomainController>

Yes

The name of the preferred domain controller.

Remarks

Procedure Steps

  1. Active Directory Provider::SetProperties

  2. ManagedPlans::UpdateLastProvisioningDate

Sample Code

Example XML Request

<request xmlns:xsl="https://www.w3.org/1999/XSL/Transform"> 
          <procedure xmlns:xsl='https://www.w3.org/1999/XSL/Transform'> 
            <execute namespace="Hosted Active Directory" procedure= 
                        "SetProperties" impersonate="1"> 
              <executeData> 
                <path>LDAP://bob@alpineskihouse.com, 
                                OU=AlpineSkiHouse,OU=WH,OU=HOSTING,DC=Fabrikam,DC=Com</path> 
                <properties> 
                  <property name="otherHomePhone"> 
                    <value>425-555-1212</value> 
                    <value>206-555-1212</value> 
                  </property> 
                </properties> 
                <preferredDomainController>ad01.fabrikam.com 
                 </preferredDomainController> 
              </executeData> 
            </execute> 
          </procedure> 
</request> 

Applies To

Hosted Active Directory Namespace API for

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0

See also

Tasks

HostedActiveDirectory::GetProperties