Re: How to set folder inheritance programmatically

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance




"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


.



Relevant Pages

  • How to set folder inheritance programmatically
    ... There is an advanced option in folder security permissions: ... apply to child objects". ... API calls to perform the "replace permission entries on all child ...
    (microsoft.public.vb.winapi)
  • Re: How to set folder inheritance programmatically
    ... Security is maintained by ensuring ... >> apply to child objects". ... >> I want to set these permissions programmatically in visual basic. ... >> API calls to perform the "replace permission entries on all child ...
    (microsoft.public.vb.winapi)
  • RE: "Deny" permissions keep getting lost?
    ... parent the permission entries that apply to child objects." ... > Security tab on each of those files for that group. ... > making the security change. ... > or in Usenet Groups: ...
    (microsoft.public.windowsxp.security_admin)
  • RE: Basic ? Configuring Office 2000 and Outlook on TS 2000
    ... The first says" Inherit from parent the permission entries that apply to ... entries shown here that apply to child objects". ... >> I checked the link you supplied about Outlook on Terminal Server ... select the Replace Permission on Existing Subkeys check ...
    (microsoft.public.windows.terminal_services)
  • Re: OUTLOOK ASKING FOR A PASSWORD
    ... Bitte in den Newsgroup antworten damit jeder etwas davon hat. ... > REPLACE PERMISSION ENTRIES ON ALL CHILD OBJECTS WITH ... > ENTRIES SHOWN HERE THAT APPLY TO CHILD OBJECTS ... > because of this password problem. ...
    (microsoft.public.outlook.installation)