AccessControlModification Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the type of access control modification to perform. This enumeration is used by methods of the ObjectSecurity class and its descendants.
public enum class AccessControlModification
public enum AccessControlModification
type AccessControlModification =
Public Enum AccessControlModification
- Inheritance
Fields
Add | 0 | Add the specified authorization rule to the access control list (ACL). |
Remove | 3 | Remove authorization rules that contain the same security identifier (SID) and access mask as the specified authorization rule from the ACL. |
RemoveAll | 4 | Remove authorization rules that contain the same SID as the specified authorization rule from the ACL. |
RemoveSpecific | 5 | Remove authorization rules that exactly match the specified authorization rule from the ACL. |
Reset | 2 | 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. |
Set | 1 | Remove all authorization rules from the ACL, then add the specified authorization rule to the ACL. |
Applies to
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro