MailUser Members

Include Protected Members
Include Inherited Members

Represents a mail-enabled user in Microsoft Exchange Server.

The MailUser type exposes the following members.

Constructors

  Name Description
Public method MailUser() Initializes a new instance of the MailUser class.
Public method MailUser(ADUser) Initializes a new instance of the MailUser class with the specified Active Directory contact object.

Top

Properties

  Name Description
Public property AcceptMessagesOnlyFrom Gets or sets the mailbox users, mail users, and mail contacts who can send email messages to the recipient. (Inherited from MailEnabledRecipient.)
Public property AcceptMessagesOnlyFromDLMembers Gets or sets the distribution groups whose members are allowed to send email messages to the recipient. (Inherited from MailEnabledRecipient.)
Public property AcceptMessagesOnlyFromSendersOrMembers Gets or sets the users, contacts, or distribution groups who can send email messages to the recipient. (Inherited from MailEnabledRecipient.)
Public property AddressListMembership Gets the address lists of which this recipient is a member. (Inherited from MailEnabledRecipient.)
Public property Alias Gets or sets the alias of the recipient. (Inherited from MailEnabledRecipient.)
Public property ArbitrationMailbox Gets the mailbox that is used to manage the moderation process. (Inherited from MailEnabledRecipient.)
Public property ArchiveDatabase Gets the database that contains the archive associated with this mail user.
Public property ArchiveGuid This property is for internal use and is not intended to be used in your code.
Public property ArchiveName This property is for internal use and is not intended to be used in your code.
Public property ArchiveQuota Gets or sets the archive mailbox size at which messages will no longer be accepted.
Public property ArchiveStatus This property is for internal use and is not intended to be used in your code.
Public property ArchiveWarningQuota Gets or sets the archive mailbox size at which a warning message is sent to the user.
Public property BypassModerationFromSendersOrMembers Gets the senders for whom moderation is bypassed. (Inherited from MailEnabledRecipient.)
Public property CalendarVersionStoreDisabled This property is for internal use and is not intended to be used in your code.
Protected property CloneableEnabledStateProperties Gets the list of properties on the presentation object marked with a ProvisionalCloneEnabledState attribute. (Inherited from ADPresentationObject.)
Protected property CloneableOnceProperties Gets the list of properties on the presentation object that can be cloned only one time. (Inherited from ADPresentationObject.)
Protected property CloneableProperties Gets the list of cloneable properties on the presentation object. (Inherited from ADPresentationObject.)
Public property CustomAttribute1 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute10 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute11 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute12 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute13 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute14 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute15 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute2 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute3 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute4 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute5 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute6 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute7 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute8 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property CustomAttribute9 Gets or sets a custom attribute of the recipient. (Inherited from MailEnabledRecipient.)
Public property DeliverToMailboxAndForward Gets a value that indicates whether messages sent to this user’s mailbox are forwarded to another address.
Public property DisabledArchiveDatabase Gets the database that contains the disabled archive mailbox associated with this mail user.
Public property DisabledArchiveGuid Gets the unique identifier (ID) of the disabled archive mailbox associated with this mail user.
Public property DisplayName Gets or sets the display name of the recipient. (Inherited from MailEnabledRecipient.)
Public property DistinguishedName Gets the distinguished name for the object. (Inherited from ADObject.)
Public property EmailAddresses Gets or sets a collection of email aliases of the recipient. (Inherited from MailEnabledRecipient.)
Public property EmailAddressPolicyEnabled Gets or sets a value that indicates whether applying email address policy is enabled. (Inherited from MailEnabledRecipient.)
Public property EndDateForRetentionHold Gets or sets the end date and time for retention hold for messaging records management (MRM).
Public property ExchangeGuid This property is for internal use and is not intended to be used in your code.
Public property ExchangeUserAccountControl Gets the user account control flags for this mail user.
Public property ExchangeVersion Gets the version of Microsoft Exchange that this object is associated with. (Inherited from ADObject.)
Public property ExtensionCustomAttribute1 (Inherited from MailEnabledRecipient.)
Public property ExtensionCustomAttribute2 (Inherited from MailEnabledRecipient.)
Public property ExtensionCustomAttribute3 (Inherited from MailEnabledRecipient.)
Public property ExtensionCustomAttribute4 (Inherited from MailEnabledRecipient.)
Public property ExtensionCustomAttribute5 (Inherited from MailEnabledRecipient.)
Public property Extensions (Inherited from MailEnabledOrgPerson.)
Public property ExternalDirectoryObjectId This property is for internal use and is not intended to be used in your code. (Inherited from MailEnabledRecipient.)
Public property ExternalEmailAddress Gets or sets the external email address of this mail user.
Public property ForwardingAddress Gets the email address to which messages sent to this mail user are forwarded.
Public property GrantSendOnBehalfTo Gets or sets the recipients who can send on behalf of the recipient. (Inherited from MailEnabledRecipient.)
Public property Guid Gets the unique identifier for this object. (Inherited from ADObject.)
Public property HasPicture (Inherited from MailEnabledOrgPerson.)
Public property HasSpokenName (Inherited from MailEnabledOrgPerson.)
Public property HiddenFromAddressListsEnabled Gets or sets a value that indicates whether to hide the recipient from any Exchange address list. (Inherited from MailEnabledRecipient.)
Public property Identity (Inherited from ADObject.)
Public property ImmutableId Gets or sets the unique and immutable identifier (ID) in the form of a Simple Mail Transfer Protocol (SMTP) address for a user’s mailbox that is used for federated delegation when requesting Security Assertion Markup Language (SAML) tokens.
Public property IsValid Gets a value that indicates whether the presentation object is valid. (Inherited from ADPresentationObject.)
Public property LastExchangeChangedTime Gets the date and time when a property of the recipient was changed. (Inherited from MailEnabledRecipient.)
Public property LegacyExchangeDN Gets the unique legacy distinguished name of the recipient. (Inherited from MailEnabledRecipient.)
Public property LitigationHoldDate Gets or sets the date when the user’s mailbox is placed on litigation hold.
Public property LitigationHoldEnabled Gets or sets a value that indicates whether the user’s mailbox is on litigation hold.
Public property LitigationHoldOwner Gets or sets the user who placed the mailbox on litigation hold.
Public property MacAttachmentFormat Gets or sets the format of attachments sent to the mail user who is using the Mac OS.
Public property MailboxMoveBatchName Gets the name of the batch associated with moving the mailbox of this mail user.
Public property MailboxMoveFlags Gets the flags associated with moving the mailbox of this mail user.
Public property MailboxMoveRemoteHostName Gets the name of the remote host that is participating in the user’s mailbox move.
Public property MailboxMoveSourceMDB Gets the Active Directory identifier (ID) of the source database from which the user’s mailbox is being moved.
Public property MailboxMoveStatus Gets the status of a user’s mailbox move.
Public property MailboxMoveTargetMDB Gets the Active Directory identifier (ID) of the target database to which the user’s mailbox is being moved.
Public property MailTip Gets or sets the message that is displayed to senders when they start drafting an email message to this recipient. (Inherited from MailEnabledRecipient.)
Public property MailTipTranslations Gets or sets a list of translations of the MailTip parameter. (Inherited from MailEnabledRecipient.)
Public property MaxReceiveSize Gets or sets the maximum size, in bytes, of email messages that can be received by the recipient. (Inherited from MailEnabledRecipient.)
Public property MaxSendSize Gets or sets the maximum size, in bytes, of email messages that can be sent by the recipient. (Inherited from MailEnabledRecipient.)
Public property MessageBodyFormat Gets or sets the message body format for messages that are sent to the mail user.
Public property MessageFormat Gets or sets the format of messages that are sent to the mail user.
Public property ModeratedBy Gets or sets a list of users who are responsible for moderating the messages sent to the recipient. (Inherited from MailEnabledRecipient.)
Public property ModerationEnabled Gets or sets a value that indicates whether to enable moderation of email sent to the recipient. (Inherited from MailEnabledRecipient.)
Public property Name Gets or sets the name associated with this object. (Inherited from ADObject.)
Public property ObjectCategory (Inherited from ADObject.)
Public property ObjectClass (Inherited from ADObject.)
Public property OrganizationalUnit Gets the organizational unit (OU) of the recipient. (Inherited from MailEnabledRecipient.)
Public property OrganizationId (Inherited from ADObject.)
Public property OriginatingServer (Inherited from ADRawEntry.)
Public property PartnerObjectId This property is for internal use and is not intended to be used in your code. (Inherited from MailEnabledRecipient.)
Public property PersistedCapabilities This property is for internal use and is not intended to be used in your code.
Public property PoliciesExcluded Gets the excluded policies for the recipient. (Inherited from MailEnabledRecipient.)
Public property PoliciesIncluded Gets the included policies for the recipient. (Inherited from MailEnabledRecipient.)
Public property PrimarySmtpAddress Gets or sets the primary return SMTP address for the recipient. (Inherited from MailEnabledRecipient.)
Public property ProtocolSettings Gets the protocol settings (POP3, IMAP4, and SMTP) for this mail user.
Public property RecipientLimits Gets or sets the maximum number of recipients for messages from the mail user.
Public property RecipientType Gets the type of the recipient. (Inherited from MailEnabledRecipient.)
Public property RecipientTypeDetails Gets the detailed information of the type of the recipient. (Inherited from MailEnabledRecipient.)
Public property RejectMessagesFrom Gets or sets the recipients who are not allowed to send email messages to the recipient. (Inherited from MailEnabledRecipient.)
Public property RejectMessagesFromDLMembers Gets or sets the distribution groups whose members are not allowed to send email messages to the recipient. (Inherited from MailEnabledRecipient.)
Public property RejectMessagesFromSendersOrMembers Gets the identity of recipients from whom messages are rejected. (Inherited from MailEnabledRecipient.)
Public property RequireSenderAuthenticationEnabled Gets or sets a value that indicates whether the recipient accepts messages only from authenticated senders. (Inherited from MailEnabledRecipient.)
Public property RetainDeletedItemsFor Gets or sets the length of time to keep deleted items.
Public property RetentionComment Gets or sets the comment displayed in Outlook regarding the user’s retention hold status.
Public property RetentionHoldEnabled Gets or sets a value that indicates whether retention hold is enabled for messaging retention policies.
Public property RetentionUrl Gets or sets the URL or an external webpage with additional details about the organization's messaging retention policies.
Public property SamAccountName Gets or sets the logon name used to support clients and servers running on earlier versions of the operating system, such as Microsoft Windows NT 4.0, Windows 98, Windows 95, and LAN Manager.
Public property SendModerationNotifications Gets or sets a value that indicates whether status notifications are sent to users when they send a message to the moderated recipient. (Inherited from MailEnabledRecipient.)
Public property SimpleDisplayName Gets or sets an alternative description of the recipient when only a limited set of characters is permitted. (Inherited from MailEnabledRecipient.)
Public property SingleItemRecoveryEnabled Gets or sets a value that indicates whether to prevent the Recovery Items folder from being purged.
Public property SKUAssigned This property is for internal use and is not intended to be used in your code.
Public property StartDateForRetentionHold Gets or sets the start date and time for retention hold for messaging records management (MRM).
Public property UMDtmfMap Gets or sets a value that indicates whether to create a user-defined dual tone multi-frequency (DTMF) map for the Unified Messaging (UM)-enabled recipient. (Inherited from MailEnabledRecipient.)
Public property UsageLocation This property is for internal use and is not intended to be used in your code.
Public property UseMapiRichTextFormat Gets or sets a value that indicates when text messages should use the MAPI Rich Text Format (RTF) for the mail user.
Public property UsePreferMessageFormat Gets or sets a value that indicates whether the message format settings configured for the mail user override the global settings configured for the remote domain.
Public property UserPrincipalName Gets or sets the user principal name (UPN) of the mail user.
Public property WhenChanged (Inherited from ADObject.)
Public property WhenChangedUTC (Inherited from ADObject.)
Public property WhenCreated (Inherited from ADObject.)
Public property WhenCreatedUTC (Inherited from ADObject.)
Public property WhenMailboxCreated Gets the date and time when the mailbox for this mail user was created.
Public property WindowsEmailAddress Gets or sets the Windows email address for the recipient. (Inherited from MailEnabledRecipient.)
Public property WindowsLiveID Gets or sets the Windows Live ID associated with the mail user.

Top

Methods

  Name Description
Public method Clone (Inherited from ConfigurableObject.)
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetProperties (Inherited from ConfigurableObject.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Protected method SetObjectClass (Inherited from ADObject.)
Public method ToString Creates a text representation of the recipient. (Inherited from MailEnabledRecipient.)
Public method Validate (Inherited from ConfigurableObject.)
Protected method ValidateRead Validates the presentation object when it is read. (Inherited from ADPresentationObject.)
Protected method ValidateWrite Validates the presentation object when it is written. (Inherited from ADPresentationObject.)

Top

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IConfigurable.CopyChangesFrom (Inherited from ConfigurableObject.)
Explicit interface implemetationPrivate property IConfigurable.ObjectState (Inherited from ConfigurableObject.)
Explicit interface implemetationPrivate method IConfigurable.ResetChangeTracking (Inherited from ConfigurableObject.)

Top