The PR_EMS_AB_ASSOC_NT_ACCOUNT property contains the primary Windows NT account associated with a mailbox.
| Header file: | EMSABTAG.H | 
| Applies to: | Mailbox objects (directory objects). These objects appear to MAPI as messaging user objects, which are accessible through the MAPI IMailUser interface. | 
| Identifier: | 0x8027 | 
| Property type: | PT_BINARY | 
| Access: | Read/write | 
The PR_EMS_AB_ASSOC_NT_ACCOUNT and PR_EMS_AB_NT_SECURITY_DESCRIPTOR properties are used by Administrator program components to establish an association between a mailbox and a Windows NT account. For example, if you have selected the option to delete Windows NT accounts when a mailbox is deleted, then this is the Windows NT account that will be deleted.
After getting the PR_EMS_AB_ASSOC_NT_ACCOUNT property, call LookupAccountSid(), as shown in the following sample code:
PSID         psid = NULL;
    SID_NAME_USE snu  = {0};
    psid = lpProps.Value.bin.lpb;
    LookupAccountSid(NULL, psid, szAccount, &cchAccount, 
    szDomain, &cchDomain, &snu);PR_EMS_AB_NT_SECURITY_DESCRIPTOR