Share via


Unified Messaging 2007 Provider::GetUMMailboxPolicy

This produres gets the properties for a mailbox policy.

Arguments

Input Arguments Required Description

<preferredDomainController>

Yes

The fully qualified name of a domain controller.

<identity>

No

The identifier for the object. This can be in the form of a AD Object path, GUID, DN, Domain/SamAccountName, UPN, LegacyExchangeDN, SMTPAddress or Alias.

Dd278670.note(en-us,TechNet.10).gifNote
sAMAccountName cannot be longer than 20 characters. See SAM-Account-Name Attribute for more information.

Remarks

Security

The caller must be at least a member of role: UserCreators.

Sample Code

Example XML Request

<request> 
        <data/> 
        <procedure> 
                <execute namespace='Unified Messaging 2007 Provider' procedure='GetUMMailboxPolicy'> 
                        <executeData> 
                                <identity>MailboxPolicy1</identity> 
                                <preferredDomainController>dc01.fabrikam.local</preferredDomainController> 
                        </executeData> 
                </execute> 
        </procedure> 
</request> 

Example XML Response

<data> 
    <mailboxPolicies> 
        <mailboxPolicy name="policyName"> 
                        <properties> 
                                <property name="propertyName"> 
                                        <value>return value</value> 
                                        . 
                                </property> 
                                . 
                        </ properties> 
                </mailboxPolicy> 
        </mailboxPolicies> 
</data>

Applies To

  • Hosted Messaging and Collaboration version 4.5

  • Hosted Messaging and Collaboration version 4.0