Share via


Hosted Exchange::ModifyUser

This procedure modifies the attributes of a user's Active Directory object.

Arguments

Input argument Required Description

<path>

Yes

The Lightweight Directory Access Protocol (LDAP) path of user object to modify.

<preferredDomainController>

Yes

<displayName>

No

<givenName>

No

<middleName>

No

<sn>

No

<initials>

No

<description>

No

<properties>/<property>

No

Zero or more valid Active Directory attributes for user class.

Remarks

Modifications from HVE 1.1

Changed input to accept LDAP path for multiple reseller support.

Provisioning Steps

Managed Active Directory::ModifyUser

Security

  • Impersonate caller.

Sample Code

Example XML Request

<request>   
        <procedure>     
                <execute namespace="Hosted Exchange" procedure="ModifyUser" impersonate="1">       
                        <executeData>         
                                <preferredDomainController>AD01.fabrikam.com</preferredDomainController>         
                                <path>LDAP://bob@litwareinc.com,OU=litwareinc,OU=WH,OU=HOSTING,DC=fabrikam,DC=Com</path>         
                                <displayName>Bob Smith</displayName>         
                                <givenName>Bob</givenName>         
                                <middleName>John</middleName>         
                                <sn>Smith</sn>         
                                <initials>bjs</initials>         
                                <description>bob's new description</description>         
                                <properties>           
                                        <property name="otherHomePhone">             
                                                <value>425-555-1212</value>             
                                                <value>206-555-1212</value>           
                                        </property>         
                                </properties>       
                        </executeData>     
                </execute>   
        </procedure> 
</request>

Applies To

Hosted Exchange Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0

See also

Tasks

Hosted Exchange::DisableUser
Hosted Exchange::EnableUser