?
Solved

How to programmatically toggle permissions inheritance for a file in VB

Posted on 2003-03-29
4
Medium Priority
?
247 Views
Last Modified: 2013-12-13
Hello. I am having trouble understanding the SetFileSecurity API.
Every example I can locate is pages of unrelated items, and no documentation on the one setting I would like to enable.

I'm looking for an example that has the same effect as turning on the advanced security option "Inherit from parent the permission entries that apply to child objects. Include these with entries explicitly defined here" for a file without throwing sendkeys at the dialog, or anything like that.
0
Comment
Question by:Mcart
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 9

Accepted Solution

by:
tkalchev earned 300 total points
ID: 8239130
0
 
LVL 5

Expert Comment

by:abhatnagar
ID: 11028134
Can someone please submit some sample code to enable/disable this flag?
0

Featured Post

Enroll in August's Course of the Month

August's CompTIA IT Fundamentals course includes 19 hours of basic computer principle modules and prepares you for the certification exam. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
Simple Linear Regression
Progress
Suggested Courses

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question