AuditRule 類別

定義

表示使用者識別 (Identity) 和存取遮罩的組合。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)

適用於