Attributes for Exchange 5.5 Mailboxes : Assoc-NT-Account
This is the SID (Security ID) of the NT user who is primary owner of the mailbox.
|Data type||Octet String (Binary value)|
|Heuristic||12 => Replicated between sites, Operational attribute|
Admin access only
|Ex55 Database name||Assoc-NT-Account|
Assoc-NT-Account is an operational attribute, which is not automatically retrieved by a GetObject() or an GetInfo() call. You can load such attributes into the object property cache by explicitly calling GetInfoEx(). Read more about this technique in the topic 'Reading object attributes' here in the SelfADSI tutorial.
Even if you have managed to read the data of an Assoc-NT-Account attribute with GetInfoEx(), it is not that easy to handle the value. Read more about this in the section 'Object attributes of type octect string' here in the SelfADSI-Tutorial. If another primary user has to be set for a mailbox, you will have to built a binary value for his SID first. The easiest way for dealing with NT SIDs is to use AcctCtr DLL: