WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

wNT
plus

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.
Article ID:   W17056
File Created: 2007:07:03:14:28:02
Last Updated: 2007:07:03:14:28:02