IADsAccessControlList::AddAce

Adds one or more access control entries (ACEs) to the access control list (ACL).

HRESULT AddAce(
  IDispatch * pAccessControlEntry  //Entries to be added
);
 

Parameters

[in] pAccessControlEntry
Array of ACEs to be added to the ACL. Cannot be NULL.

Return Values

This method returns the standard values E_INVALIDARG, E_OUTOFMEMORY, E_UNEXPECTED, and E_FAIL, as well as the following:

S_OK
The ACE was added successfully.

See Also

IADsAccessControlEntry