AccessControlModification 枚举

定义

指定要执行的访问控制修改的类型。 此枚举由 ObjectSecurity 类及其子类的方法使用。This enumeration is used by methods of the ObjectSecurity class and its descendents.

public enum class AccessControlModification
public enum AccessControlModification
type AccessControlModification = 
Public Enum AccessControlModification
继承
AccessControlModification

字段

Add 0

将指定的授权规则添加到访问控制列表 (ACL)。Add the specified authorization rule to the access control list (ACL).

Remove 3

从 ACL 移除所含安全性标识符 (SID) 和访问掩码与指定授权规则一样的授权规则。Remove authorization rules that contain the same security identifier (SID) and access mask as the specified authorization rule from the ACL.

RemoveAll 4

从 ACL 移除所含 SID 与指定授权规则一样的授权规则。Remove authorization rules that contain the same SID as the specified authorization rule from the ACL.

RemoveSpecific 5

从 ACL 移除与指定的授权规则完全匹配的授权规则。Remove authorization rules that exactly match the specified authorization rule from the ACL.

Reset 2

从 ACL 移除所含 SID 与指定授权规则一样的授权规则,然后将指定的授权规则添加到 ACL。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

从 ACL 移除所有授权规则,然后将指定的授权规则添加到 ACL。Remove all authorization rules from the ACL, then add the specified authorization rule to the ACL.

适用于