I have a folder that I create on my local machine and I want it to inherit from the parent, in general. The one group I do not want it to inherit is the built in USERS group.
How can I remove that USERS group from that directory using C#?
The RemoveAccessRule and PurgeAccessRule does not seem to be working.
I know if I manually go in the Security permissions of the folder I can delete the Users group but how can I do that programmatically?
Any assisstance on this would be greatly appreciated.