Share via


Hosted Exchange::MakeUserAdmin

This procedure adds or removes a customer user from the admin group in the users organization.

Arguments

Input argument Required Description

<path>

Yes

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

<isAdmin>

Yes

1 adds the specified user to the Admins@<OrgName> group of the specified organization. 0 removes the specified user from the Admins@<OrgName> group.

<preferredDomainController>

Yes

Remarks

Modifications from HVE 1.1

  • Changed input interface to user LDAP path of user for multiple reseller support.

  • No functional changes.

  • Name change from MakeCustomerUserAdmin.

Security

  • Impersonate Caller.

Sample Code

Example XML Request

<request>   
        <procedure>     
                <execute namespace="Hosted Exchange" procedure="MakeUserAdmin" impersonate="1">       
                        <executeData>         
                                <path>LDAP://CN=bob@alpineskihouse.com,OU=alpineskihouse,OU=WH,OU=Hosting,DC=fabrikam,DC=Com</path>         
                                <isAdmin>1</isAdmin>        
                                 <preferredDomainController>AD01.fabrikam.com</preferredDomainController>       
                        </executeData>     
                </execute>   
        </procedure> 
</request> 

Example XML Response

No example XML response.

Applies To

Hosted Exchange Namespace API for:

  • Hosted Messaging and Collaboration version 3.5

  • Hosted Messaging and Collaboration version 3.0