Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Determine Inheritance
Keywords: inheritance file directory folder
Question:
Anyone know the code to determine if inheritance is turned on for a file/folder? I see where I can set it,
but not where I can determine it. I'm sure I'm overlooking the obvious.
Answer:
Take a look at wntSecurityGet(), Request #1. If inheritance of permissions is enabled, then the DACL is *not* protected.