Set Mail User operation
The Set Mail User process modifies the mail-related attributes of an existing user in the Active Directory directory service. The following table describes the input parameters for Set Mail User process
Adapter request parameters for Set Mail User process
Element | Definition | Required |
---|---|---|
<Identity> | Takes one of the following values:
| Yes |
<AcceptMessagesOnlyFrom> | Specifies the mailbox users, mail users, and mail contacts that can send e-mail messages to this mail user
| No |
<AcceptMessagesOnlyFromDLMembers> | Specifies the distribution groups whose members are allowed to send e-mail messages to this mail user
| No |
<Alias> | Specifies the alias of the user | No |
<Confirm> | Causes the command to pause processing and requires you to acknowledge what the command will do before processing continues | No |
<CreateDTMFMap> | Specifies that a dual tone multi-frequency (DTMF) map be created for the user | No |
<CustomAttribute1> | Specifies custom attributes | No |
<CustomAttribute10> | Specifies custom attributes | No |
<CustomAttribute11> | Specifies custom attributes | No |
<CustomAttribute12> | Specifies custom attributes | No |
<CustomAttribute13> | Specifies custom attributes | No |
<CustomAttribute14> | Specifies custom attributes | No |
<CustomAttribute15> | Specifies custom attributes | No |
<CustomAttribute2> | Specifies custom attributes | No |
<CustomAttribute3> | Specifies custom attributes | No |
<CustomAttribute4> | Specifies custom attributes | No |
<CustomAttribute5> | Specifies custom attributes | No |
<CustomAttribute6> | Specifies custom attributes | No |
<CustomAttribute7> | Specifies custom attributes | No |
<CustomAttribute8> | Specifies custom attributes | No |
<CustomAttribute9> | Specifies custom attributes | No |
<DisplayName> | Specifies the display name of the user | No |
<DomainController> | Specifies the Fully Qualified Domain Name (FQDN) of the domain controller that writes this configuration change to Active Directory | No |
<EmailAddresses> | Specifies the e-mail alias of the mail user | No |
<EmailAddressPolicyEnabled> | Specifies whether the e-mail addresses for the mailbox will be automatically updated based on the e-mail address policies defined | No |
<Extensions> | Specifies one or more extension numbers for the user When the parameter is set, all extension numbers within the dial plan must be unique. | No |
<ExternalEmailAddress> | Specifies an e-mail address outside of the organization | No |
<GrantSendOnBehalfTo> | Specifies the distinguished name (DN) of recipients that can send messages on behalf of this user | No |
<HiddenFromAddressListsEnabled> | Specifies whether the user appears in the address list | No |
<IgnoreDefaultScope> | Instructs the command to ignore the default recipient scope setting for the Exchange Management Shell and use the entire forest as the scope | No |
<Instance> | Enables you to pass an entire object to the command to be processed | No |
<MacAttachmentFormat> | Specifies the Apple Macintosh Operating System attachment format for messages that are sent to the mail user
| No |
<MaxReceiveSize> | Specifies the maximum size of e-mail messages that can be received by the mail user, from 1 kilobyte (KB) to 2,097,151 KB If not specified, there will be no size restrictions. | No |
<MaxSendSize> | Specifies the maximum size of e-mail messages that can be sent by the mail user, from 1 KB to 2,097,151 KB | No |
<MessageBodyFormat> | Specifies the message body format for messages that are sent to the mail user
| No |
<MessageFormat> | Specifies the message format for messages that are sent to the mail user
| No |
<Name> | Specifies the name of the user. | No |
<PrimarySmtpAddress> | Specifies the primary SMTP address. | No |
<RecipientLimits> | Specifies the maximum number of recipients for messages from this user. | No |
<RejectMessagesFrom> | Specifies the recipients from which to reject messages. | No |
<RejectMessagesFromDLMembers> | Specifies the distribution list members from which to reject messages. | No |
<RequireSenderAuthenticationEnabled> | Specifies whether to accept messages only from authenticated recipients. The default value is $false. | No |
<SamAccountName> | Defines the logon name used to support clients and servers running older versions of the operating system, such as Microsoft Windows NT 4.0, Windows 98, Windows 95, and LAN Manager | No |
<SecondaryAddress> | Specifies the secondary address that is used by the UM-enabled user | No |
<SecondaryDialPlan> | Specifies a secondary UM dial plan to use | No |
<SimpleDisplayName> | Displays an alternative description of the object when only a limited set of characters is permitted | No |
<UMDtmfMap> | Specifies if you want to create a user-defined DTMF map for the UM-enabled user | No |
<UseMapiRichTextFormat> | Specifies how messages in MAPI Rich Text Format (RTF) will be handled for this mail user | No |
<UsePreferMessageFormat> | Specifies whether the message format settings configured for the mail user will override the global settings configured for the remote domain | No |
<UserPrincipalName> | Specifies a user principal name (UPN) for the user | No |
<WindowsEmailAddress> | Specifies the Windows e-mail address for this mailbox | No |