DirectoryObjectSecurity.ModifyAccess 方法

定义

将指定的修改应用到与此 DirectoryObjectSecurity 对象关联的自由访问控制列表 (DACL) 中。

protected:
 override bool ModifyAccess(System::Security::AccessControl::AccessControlModification modification, System::Security::AccessControl::AccessRule ^ rule, [Runtime::InteropServices::Out] bool % modified);
protected override bool ModifyAccess (System.Security.AccessControl.AccessControlModification modification, System.Security.AccessControl.AccessRule rule, out bool modified);
override this.ModifyAccess : System.Security.AccessControl.AccessControlModification * System.Security.AccessControl.AccessRule * bool -> bool
Protected Overrides Function ModifyAccess (modification As AccessControlModification, rule As AccessRule, ByRef modified As Boolean) As Boolean

参数

modification
AccessControlModification

要应用于 DACL 的修改。

rule
AccessRule

要修改的访问规则。

modified
Boolean

如果已成功修改 DACL,则为 true;否则为 false

返回

Boolean

如果已成功修改 DACL,则为 true;否则为 false

适用于