Microsoft KB Archive/237602

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

Article ID: 237602

Article Last Modified on 3/4/2004

-

APPLIES TO


 * Microsoft Collaboration Data Objects 1.1
 * Microsoft Collaboration Data Objects 1.2
 * Microsoft Collaboration Data Objects 1.21
 * Microsoft Exchange Server 2003 Software Development Kit

-



This article was previously published under Q237602



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 (1.1, 1.2, 1.21) 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 (1.1, 1.2, 1.21) 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.

Keywords: kbmsg kbprb KB237602

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.