AddAce

[DllImport("Advapi32.dll", SetLastError = true)]
public static extern bool AddAce(
   IntPtr pAcl,
   uint dwAceRevision,
   uint dwStartingAceIndex,
   IntPtr pAceList,
   uint nAceListLength
);

Microsoft documentation: Link

Last updated