IExchangeFolderACLs::HrDelete

The HrDelete method removes the current member of the ACL.

HRESULT HrDelete( )

Parameters

None.

Return Values

See Return Values.

In addition, HrDelete returns E_FAIL if one of the following conditions occurs:

An attempt was made to delete the default rights of the folder.
The current cursor position, as returned by the HrTell method, is ACL_POS_DEFAULT.
An attempt was made to delete the owner of the folder.
The current cursor position, as returned by the HrTell method, is ACL_POS_CREATOR.
An attempt was made to delete a member when the cursor is at the end of the ACL table (no current member).
The current cursor position, as returned by the HrTell method, is ACL_PAST_END.

Remarks

Microsoft Exchange Server reserves the first two members of every ACL for the default access rights of the list and the creator of the list. You cannot delete the access rights member or the creator member of an ACL. You cannot insert a member before the access rights member or the creator member of an ACL.

For more information, see ACLEDIT: Modifying an ACL.

See Also

IExchangeFolderACLs