Freigeben über


CAcl::GetAclEntries

Retrieves the access-control list (ACL) entries from the CAcl object.

void GetAclEntries(
   CSid::CSidArray * pSids,
   CAccessMaskArray * pAccessMasks = NULL,
   CAceTypeArray * pAceTypes = NULL,
   CAceFlagArray * pAceFlags = NULL
) const throw(...);

Parameters

  • pSids
    A pointer to an array of CSid objects.

  • pAccessMasks
    The access masks.

  • pAceTypes
    The access-control entry (ACE) types.

  • pAceFlags
    The ACE flags.

Remarks

This method fills the array parameters with the details of every ACE object contained in the CAcl object. Use NULL when the details for that particular array are not required.

The contents of each array correspond to each other, that is, the first element of the CAccessMaskArray array corresponds to the first element in the CSidArray array, and so on.

See ACE_HEADER for more details on ACE types and flags.

Requirements

Header: atlsecurity.h

See Also

Reference

CAcl Class

CAcl::CAceFlagArray

CAcl::CAceTypeArray

CAcl::CAccessMaskArray

CAcl::GetAclEntry

Other Resources

CAcl Members