Hosted Exchange::DeleteSMTPProxyAddress

This procedure deletes an SMTP proxy addresses from a specified user's list of proxy addresses.

Arguments

Input argument Required Description

<path>

Yes

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

<preferredDomainController>

Yes

<proxyAddress>

Yes

The SMTP proxy address to add to the user (for example, user@domain.com).

Dd252189.note(en-us,TechNet.10).gifNote
The proxyAddress element assumes that the proxy address passed is a secondary proxy address for the user. The value will be modified and applied to the user with the following format: smtp:<username>@<domainsuffix>. For example; smtp:jimc@alpineskihouse.com.

Procedure should fail if the requested proxy Address is the primary for the user.

Remarks

Security

  • Impersonate caller.

  • Caller Tested for UserCreator permissions.

Sample Code

Example XML Request

<?xml version="1.0" encoding="iso-8859-1" ?> 
<request>   
        <procedure>       
                <execute namespace="Hosted Exchange" procedure="DeleteSMTPProxyAddress" impersonate="1">       
                        <executeData>         
                                <path>LDAP://cn=user@alpineskihouse.com,ou=alpineskihouse,OU=consolidatedmessenger,OU=Hosting,DC=fabrikam,DC=Com</path>         
                                <proxyAddress>user@skihouse.com</proxyAddress>         
                                <preferredDomainController>AD01.fabrikam.com</preferredDomainController>       
                        </executeData>       
                        <after source="executeData" destination="data" mode="merge"/>     
                </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

See also

Tasks

Hosted Exchange::CreateSMTPProxyAddress