See the API function nf-aclapi-getinheritancesourcew
How to get the source from which an ACE is inherited?
Mukilan IK
21
Reputation points
I'm trying to write a program to get the NTFS permissions for a folder and information about each Access Control Entry(ACE). How do I get the source object from which an ACE was inherited?
for (int i = 0; i < dacl->AceCount; i++)
{
dw_name = 0;
dw_domain = 0;
GetAce(dacl, i, (PVOID *)&ace);
if((ace->Header.AceFlags & INHERITED_ACE) == INHERITED_ACE)
// Get inherited source
}