The PR_EMS_AB_IMPORTED_FROM property is used by directory synchronization agents to identify objects that they imported.
Header file: | EMSABTAG.H |
Applies to: | Mail-Recipient objects (directory objects). These objects appear to MAPI as messaging_user objects, which are accessible through the MAPI IMailUser interface. |
Identifier: | 0x8042 |
Property type: | PR_EMS_AB_IMPORTED_FROM PT_TSTRING PR_EMS_AB_IMPORTED_FROM_A PT_STRING8 PR_EMS_AB_IMPORTED_FROM_W PT_UNICODE |
Access: | Read/write |
Unicode: | Yes |
If a directory synchronization agent adds a mailbox and then initiates a request to Microsoft Exchange Server for all new mailboxes, the agent will receive the mailbox it just added. To avoid loops, the PR_EMS_AB_IMPORTED_FROM property provides a means for the agent to recognize that it created the object.
The standard format for this property is:
Agent Name:Source Identifier
If your directory synchronization agent runs as a service of Windows NT Server, then use the service name for Agent Name.
Source Identifier identifies the foreign source of the imported object. The DIRSYNC sample application included with this SDK has a concept of instances that roughly relates to the name of the foreign data source. The format of Source Identifier is determined by the particular directory synchronization agent.
See DIRSYNC: Importing and Exporting Mailboxes.