|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.|
PidTagDisplayTypeEx Canonical Property
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Contains the type of an entry, with respect to how the entry should be displayed in a row in a table for the Global Address List.
MAPI address book
This property specifies the type of an entry, with respect to how it should be displayed in the Global Address List. It provides additional information that cannot be represented in PR_DISPLAY_TYPE (PidTagDisplayType).
The values of both PR_DISPLAY_TYPE and this property begin with "DT_" and are defined in Mapitags.h. All values not documented are reserved for MAPI. Client applications must not define any new values and must be prepared to deal with an undocumented value.
There are some macros that can help determine attributes of an object such as whether it is local, remote, or security-controlled. These macros include:
The following are a few notes about how to use these macros.
To check whether an entry is a remote entry in another forest, apply the DTE_IS_REMOTE_VALID macro to the value of this property to check whether the DTE_FLAG_REMOTE_VALID flag is set in the entry. If it is a remote entry, you can then find out the type of the remote entry by using the DTE_REMOTE macro.
In both single-forest and cross-forest configurations, when PR_DISPLAY_TYPE has the value of DT_DISTLIST, and DTE_IS_REMOTE_VALID is false, applying the macro DTE_LOCAL to the value of this property can let you further identify the type of the object as either DT_DISTLIST (a distribution list) or DT_SEC_DISTLIST (a security distribution list).
If you apply the macro DTE_LOCAL to the value of PR_DISPLAY_TYPE_EX and it returns the type DT_REMOTE_MAILUSER, then the entry is a remote entry.
In a single forest or in a cross-forest configuration where replication is controlled by an Access Control List (ACL), you can use the DTE_IS_ACL_CAPABLE macro to determine whether an entry is a security principal.
In a cross-forest configuration, PR_DISPLAY_TYPE has the value of DT_REMOTE_MAILUSER. Applying the macro DTE_REMOTE to the value of this property can let you obtain the type of the remote entry. The possible types of remote entry are the following:
Type of Remote Entry
Dynamic distribution list.
Equipment, for example, a printer or a projector.
User with a mailbox.
An address list entry in the Global Address List.
Security distribution list.
In both a single forest and in a cross-forest configuration, when PR_DISPLAY_TYPE has the value of DT_DISTLIST and DTE_IS_REMOTE_VALID is false, applying the DTE_LOCAL macro to the value of this property can let you obtain the type of the distribution list. The possible types of distribution list are the following:
Type of Distribution List
Security distribution list.