IADsAccessControlList::_NewEnum

Returns a pointer to an enumerator object that can be used to enumerate ACEs in an ACL.

HRESULT _NewEnum(
  IUnknown ** ppEnumerator  //Interface on enumerator object
);
 

Parameter

ppEnumerator
[retval, out] Returns a pointer to IEnumVARIANT, which can be used to enumerate the access control entries in an access control list.

Return Values

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

S_OK
Returned the pointer successfully.

See Also

IEnumVARIANT, IADsAccessControlEntry, IADsSecurityDescriptor