PRB: ACL: New ACE ID Not the Same As Original AddressEntry ID

ID: Q237602


The information in this article applies to:
  • Collaboration Data Objects (CDO), version 1.21
  • Exchange Development Kit (EDK), version 5.5


SYMPTOMS

You are using the ACL object to add permissions to a MAPI folder. When you add a new entry to the folder ACEs collection and update the collection, you see that the ID of that new ACL is different than the ID of the address entry that was used to obtain the original entry ID.


CAUSE

When the member is added to the MAPI folder ACE's collection, the ACE.ID property is set to the short-term entry identifier of the desired member that is returned by the CDO AddressEntry or Recipient object. When the ACE object is added to the ACE's collection, The ACE ID is converted to the long-term entry identifier as found in the PR_ENTRYID MAPI property for the member. Once converted, the ACE object is stored in the ACE's internal collection with this ID as the key.


RESOLUTION

To find the identity of the ACE object, use the CDO Session's GetAddressEntry method, passing the long term ID of the ACE from the ACE collection. For example:


Set objAddressEntry = objSession.GetAddressEntry("EntryID obtained from the ACL ACE.ID") 


STATUS

This behavior is by design.

Additional query words:

Keywords : kbCDO kbCDO121 kbXchge550 kbMsg kbGrpMsg kbDSupport kbprb
Version : WINDOWS:1.21,5.5
Platform : WINDOWS
Issue type : kbprb


Last Reviewed: September 24, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.