AuditRule 类

定义

表示用户的标识和访问掩码的组合。Represents a combination of a user's identity and an access mask. AuditRule 对象还包含有关子对象如何继承规则、继承如何传播以及规则的审核条件是什么的信息。An AuditRule object also contains information about how the rule is inherited by child objects, how that inheritance is propagated, and for what conditions it is audited.

public ref class AuditRule abstract : System::Security::AccessControl::AuthorizationRule
public abstract class AuditRule : System.Security.AccessControl.AuthorizationRule
type AuditRule = class
    inherit AuthorizationRule
Public MustInherit Class AuditRule
Inherits AuthorizationRule
继承
派生

构造函数

AuditRule(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

通过使用指定的值初始化 AuditRule 类的新实例。Initializes a new instance of the AuditRule class by using the specified values.

属性

AccessMask

获取此规则的访问掩码。Gets the access mask for this rule.

(继承自 AuthorizationRule)
AuditFlags

获取此审核规则的审核标志。Gets the audit flags for this audit rule.

IdentityReference

获取对其应用此规则的 IdentityReferenceGets the IdentityReference to which this rule applies.

(继承自 AuthorizationRule)
InheritanceFlags

获取用于确定子对象如何继承此规则的标志的值。Gets the value of flags that determine how this rule is inherited by child objects.

(继承自 AuthorizationRule)
IsInherited

获取一个值,该值指示此规则是否为显式设置或继承自父级容器对象。Gets a value indicating whether this rule is explicitly set or is inherited from a parent container object.

(继承自 AuthorizationRule)
PropagationFlags

获取传播标志的值,该值确定如何将此规则的继承传播到子对象。Gets the value of the propagation flags, which determine how inheritance of this rule is propagated to child objects. 仅当 InheritanceFlags 枚举的值不为 None 时,此属性才有意义。This property is significant only when the value of the InheritanceFlags enumeration is not None.

(继承自 AuthorizationRule)

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

用作默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于