Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
enum System.​Security.​AccessControl.​AccessControlModification
Assembly: System.Security.AccessControl
Specifies the type of access control modification to perform. This enumeration is used by methods of the <see cref="T:System.Security.AccessControl.ObjectSecurity" /> class and its descendants.
Values
Add
Add the specified authorization rule to the access control list (ACL).
Set
Remove all authorization rules from the ACL, then add the specified authorization rule to the ACL.
Reset
Remove authorization rules that contain the same SID as the specified authorization rule from the ACL, and then add the specified authorization rule to the ACL.
Remove
Remove authorization rules that contain the same security identifier (SID) and access mask as the specified authorization rule from the ACL.
RemoveAll
Remove authorization rules that contain the same SID as the specified authorization rule from the ACL.
RemoveSpecific
Remove authorization rules that exactly match the specified authorization rule from the ACL.