AcceptMessagesOnlyFrom |
Gets or sets the senders that can send email messages to the object.
This reference attribute can take senders in any of the following formats:
- Alias
- Canonical name
- Display name
- DN
- Exchange DN
- GUID
- Name
- Primary SMTP email address
This reference attribute accepts the following object types:
|
Read, Write |
AcceptMessagesOnlyFromDLMembers |
Gets or sets the distribution groups whose members are allowed to send email messages to the object.
This reference attribute can take distribution groups in any of the following formats:
- Canonical name
- Display name
- DN
- GUID
- Legacy Exchange DN
- Name
- Primary SMTP email address
This reference attribute accepts the following object types:
- DistributionGroup
- DynamicDistributionGroup
|
Read, Write |
AcceptMessagesOnlyFromSendersOrMembers |
Gets or sets the senders who can send email messages to the object.
This reference attribute can take senders in any of the following formats:
- Canonical name
- Display name
- Distinguished name (DN)
- GUID
- Legacy Exchange DN
- Name
- Primary SMTP email address
This reference attribute accepts the following object types:
- Contact
- DistributionGroup
- DynamicDistributionGroup
- Mailbox
- MailUser
|
Read, Write |
Alias |
Gets or sets the alias of the object. |
Read, Write |
AllowUMCallsFromNonUsers |
Gets or sets whether to exclude or include the object in directory searches.
This attribute can take one of the following values:
- None: Specifies to exclude the object from directory searches.
- SearchEnabled: Specifies to include the object in directory searches.
|
Read, Write |
AssistantName |
Gets or sets the name of the assistant associated with the object. |
Read, Write |
BypassModerationFromSendersOrMembers |
Gets or sets the senders whose messages bypass moderation for the object.
This reference attribute can take any of the following values for the senders:
- Canonical name
- Display name
- Distinguished name (DN)
- GUID
- Name
- Legacy Exchange DN
- Primary SMTP email address
- Moderation does not apply to the senders designated as moderators for the contact.
This reference attribute accepts the following object types:
- Contact
- DistributionGroup
- DynamicDistributionGroup
- Mailbox
- MailUser
|
Read, Write |
City |
Gets or sets the city associated with the object. |
Read, Write |
Company |
Gets or sets the company associated with the object. |
Read, Write |
CountryOrRegion |
Gets or sets the country or region associated with the object. |
Read, Write |
CreateDTMFMap |
Sets whether to create a dual-tone multi-frequency (DTMF) map for the object.
This attribute can take one of the following values:
- TRUE. Specifies to create a DTMF map for the object.
- FALSE. Specifies not to create a DTMF map for the object.
|
Read, Write |
CustomAttribute1 |
Gets or sets the additional custom values you specified. |
Read, Write |
CustomAttribute2 |
CustomAttribute3 |
CustomAttribute4 |
CustomAttribute5 |
CustomAttribute6 |
CustomAttribute7 |
CustomAttribute8 |
CustomAttribute9 |
CustomAttribute10 |
CustomAttribute11 |
CustomAttribute12 |
CustomAttribute13 |
CustomAttribute14 |
CustomAttribute15 |
Department |
Gets or sets the department associated with the object. |
Read, Write |
DisplayName |
Gets or sets the display name used in Microsoft 365 for the object. |
Read, Write |
EmailAddresses |
Gets or sets the email alias(es) of the object.
TIP: To specify multiple email addresses, use comma (,) as a separator. |
Read, Write |
ExtensionCustomAttribute1 |
Gets or sets the additional custom values you specify. These attributes are multivalued.
TIP: To specify multiple values, use comma as a separator. |
Read, Write |
ExtensionCustomAttribute2 |
ExtensionCustomAttribute3 |
ExtensionCustomAttribute4 |
ExtensionCustomAttribute5 |
ExternalDirectoryObjectId |
Gets the globally unique identifier (GUID) of the object. |
Read |
ExternalEmailAddress |
Gets or sets the email address of the contact. |
Read, Write |
Fax |
Gets or sets the fax number of the object. |
Read, Write |
FirstName |
Gets or sets the first name of the object. |
Read, Write |
GrantSendOnBehalfTo |
Gets or sets the distinguished name (DN) of other senders that can send messages on behalf of the object.
This reference attribute accepts the Mailbox object type only. |
Read, Write |
HiddenFromAddressListsEnabled |
Gets or sets whether Microsoft 365 hides the object from address lists.
This attribute can take one of the following values:
- TRUE: Hides the object from address lists.
- FALSE (default): Shows the object in address lists.
|
Read, Write |
HomePhone |
Gets or sets the home phone number associated with the object. |
Read, Write |
Initials |
Gets or sets the initials associated with the object. |
Read, Write |
LastName |
Gets or sets the last name of the object. |
Read, Write |
MacAttachmentFormat |
Gets or sets the Apple Macintosh operating system attachment format for messages sent to the object.
This attribute can take the following values:
- BinHex
- UuEncode
- AppleSingle
- AppleDouble
|
Read, Write |
MailTip |
Gets or sets the message displayed to senders when they start writing an email message to the object. |
Read, Write |
MailTipTranslations |
Gets or sets the MailTip message translations in additional languages.
This attribute accepts the following format:
<LanguageLocale>:<MailTip MessageTranslation>
NOTE: MailTip message translations cannot be longer than 250 characters. |
Read, Write |
Manager |
Gets or sets the manager of the object. |
Read, Write |
MaxRecipientPerMessage |
Gets or sets the maximum number of recipients to which the contact can address a message. |
Read, Write |
MessageBodyFormat |
Gets or sets the message body format for messages sent to the contact.
The values this attribute can write depend on the value in the MessageFormat attribute.
When the value of MessageFormat is Mime, the MessageBodyFormat attribute can write the following values:
When the value of MessageFormat is Text, the MessageBodyFormat attribute can only write the Text value. |
Read, Write |
MessageFormat |
Gets or sets the message format for messages sent to the contact.
This attribute can take the following values:
|
Read, Write |
MobilePhone |
Gets or sets the mobile phone number associated with the object. |
Read, Write |
ModeratedBy |
Gets or sets the users who are moderating the messages sent to the object.
TIP: To specify multiple users as moderators, use comma as separator.
NOTE: This reference attribute is required if you set the value of the ModerationEnabled attribute to TRUE.
This reference attribute accepts the following object types:
|
Read, Write |
ModerationEnabled |
Gets or sets whether moderation is enabled for the object.
This attribute can take one of the following values:
|
Read, Write |
Name |
Gets or sets the name of the object. |
Read, Write |
Notes |
Gets or sets notes about the object. |
Read, Write |
ObjectID |
Gets the globally unique object identifier (GUID) of the object. |
Read |
Office |
Gets or sets the company office location associated with the object. |
Read, Write |
OtherFax |
Gets or sets the alternate fax number of the object. |
Read, Write |
OtherHomePhone |
Gets or sets the alternate home phone number of the object. |
Read, Write |
Pager |
Gets or sets the pager number of the object. |
Read, Write |
Phone |
Gets or sets the work phone number of the object. |
Read, Write |
PhoneticDisplayName |
Gets or sets the phonetic pronunciation of the DisplayName attribute value of the object. |
Read, Write |
PostalCode |
Gets or sets the postal code of the object. |
Read, Write |
PostOfficeBox |
Gets or sets the post office box number of the object. |
Read, Write |
RejectMessagesFrom |
Gets or sets the senders whose messages to the object will be rejected.
This attribute can take senders in one of the following formats:
- Alias
- Canonical name
- Display name
- Distinguished name (DN)
- GUID
- Name
- Legacy Exchange DN
- Primary SMTP email address
This reference attribute accepts the following object types:
|
Read, Write |
RejectMessagesFromDLMembers |
Gets or sets the distribution groups whose members cannot send email messages to the object (their messages will be rejected).
This reference attribute can take distribution groups in one of the following formats:
This reference attribute accepts the following object types:
-
DistributionGroup
-
DynamicDistributionGroup |
Read, Write |
RejectMessagesFromSendersOrMembers |
Gets or sets the senders that cannot send email messages to the object (their messages will be rejected).
This reference attribute can take any of the following values for the senders:
- Alias
- Canonical name
- Display name
- Distinguished name (DN)
- GUID
- Name
- Legacy Exchange DN
- Primary SMTP email address
This reference attribute accepts the following object types:
- Contact
- DistributionGroup
- DynamicDistributionGroup
- Mailbox
|
Read, Write |
RequireSenderAuthenticationEnabled |
Gets or sets whether the senders that send messages to this object must be authenticated.
This attribute can take one of the following values:
- TRUE: Messages sent to this object must be authenticated.
- FALSE: No message authentication is required.
|
Read, Write |
SecondaryAddress |
Gets or sets the secondary address for the object if it has Unified Messaging enabled. |
Read, Write |
SecondaryDialPlan |
Gets or sets the secondary Unified Messaging dial plan for the object. |
Read, Write |
SendModerationNotifications |
Gets or sets whether to send status notifications to users when a message they sent to the moderated object is rejected by a moderator.
This attribute can take one of the following values:
- Always: Specifies that notifications are sent to all senders.
- Internal: Specifies that notifications are only sent to the senders internal to your organization.
- Never: Specifies that all status notifications are disabled.
|
Read, Write |
SimpleDisplayName |
Gets or sets an alternate description of the object if only a limited set of characters is allowed.
The limited set of characters includes ASCII characters 26–126. |
Read, Write |
StateOrProvince |
Gets or sets the state or province information of the object. |
Read, Write |
StreetAddress |
Gets or sets the street address information of the object. |
Read, Write |
TelephoneAssistant |
Gets or sets the phone number of the contact’s assistant. |
Read, Write |
Title |
Gets or sets the title of the object. |
Read, Write |
UMCallingLineIds |
Gets or sets telephone numbers or telephone extensions that can be mapped to the contact if it has Unified Messaging enabled.
TIP: To specify multiple telephone numbers, use a comma as a separator.
NOTE: This attribute accepts values with less than 128 characters only. |
Read, Write |
UMDtmfMap |
Gets or sets whether to create a user-defined DTMF map for the object if it has Unified Messaging enabled. |
Read, Write |
UseMapiRichTextFormat |
Gets or sets a format for the MAPI Rich Text Format messages sent to the object.
- Never: Specifies to convert all messages sent to the object to the plain text format.
- Always: Specifies to always use the MAPI Rich Text Format (RTF) for the messages sent to the object.
- UseDefaultSettings: Specifies to use the message format set in the MAPI client that sent the message to the object.
|
Read, Write |
UsePreferMessageFormat |
Gets or sets whether the message format specified for the object overrides any global settings (for example, those configured for the remote domain).
This attribute can take one of the following values:
- TRUE: Specifies that the message format set for the object overrides any global settings.
- FALSE: Specifies that global settings have precedence over the mail format set for the object.
|
Read, Write |
WebPage |
Gets or sets the web page contact information of the object. |
Read, Write |
WindowsEmailAddress |
Gets or sets the email address of the object stored in Active Directory. |
Read, Write |