Re: How to set folder inheritance programmatically
- From: "MikeD" <nobody@xxxxxxxxxxx>
- Date: Tue, 25 Oct 2005 17:38:47 -0400
"w2000learner" <keys.ricjai@xxxxxxxxx> wrote in message
news:1130272269.352097.164420@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> There is an advanced option in folder security permissions : "replace
> permission entries on all child objects with entries shown here that
> apply to child objects".
>
> I want to set these permissions programmatically in visual basic.
>
> I googled and found a lot of pointers which directed to use
> SetNamedSecurityInfo and AddAccessAllowedAceEx. However, I still do not
> know how to use these to perform the step mentioned above.
>
> Can someone please give me some visual basic code using the necessary
> API calls to perform the "replace permission entries on all child
> objects with entries shown here that apply to child objects" step for a
> folder.
I'd be surprised if you can, not just from VB but from any language. If you
could programmatically set security settings, there would be no security.
I'm not saying for certain that you can't do what you want, I just kinda
doubt it.
--
Mike
Microsoft MVP Visual Basic
.
- Follow-Ups:
- References:
- How to set folder inheritance programmatically
- From: w2000learner
- How to set folder inheritance programmatically
- Prev by Date: Re: Automating msoCommandBars with API
- Next by Date: Re: How to set folder inheritance programmatically
- Previous by thread: How to set folder inheritance programmatically
- Next by thread: Re: How to set folder inheritance programmatically
- Index(es):
Relevant Pages
|