Platform SDK: Exchange Server

IACE::ID Property

Contains the identifier for the member to which the rights apply.

IDL Definition

[propget] HRESULT ID( [out, retval] VARIANT *pVal);
[propput] HRESULT ID( [in] VARIANT newVal);

Visual Basic Definition

Property ID as Variant

Remarks

There are two, predefined IDs:

Value Description
ID_ACL_ANONYMOUS Anonymous user
ID_ACL_DEFAULT Default user

If you call GetAddressEntry(ACE.ID) on default or anonymous ACEs, you get an E_INVALIDARG HRESULT error.

When creating a new ACE object, the IACE::ID property is set to the short-term entry identifier of the desired member as returned by the CDO AddressEntry or Recipient object. When the ACE object is added to the ACEs collection, its 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 ACEs internal collection with this ID as the key.