EventWaitHandleAuditRule コンストラクター

定義

監査するユーザーまたはグループ、監査する権限、成功、失敗、またはその両方を監査するかどうかを指定して、 EventWaitHandleAuditRule クラスの新しいインスタンスを初期化します。

public:
 EventWaitHandleAuditRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::EventWaitHandleRights eventRights, System::Security::AccessControl::AuditFlags flags);
public EventWaitHandleAuditRule(System.Security.Principal.IdentityReference identity, System.Security.AccessControl.EventWaitHandleRights eventRights, System.Security.AccessControl.AuditFlags flags);
new System.Security.AccessControl.EventWaitHandleAuditRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.EventWaitHandleRights * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.EventWaitHandleAuditRule
Public Sub New (identity As IdentityReference, eventRights As EventWaitHandleRights, flags As AuditFlags)

パラメーター

identity
IdentityReference

ルールが適用されるユーザーまたはグループ。 SecurityIdentifier型、または型NTAccountに変換できるSecurityIdentifierなどの型である必要があります。

eventRights
EventWaitHandleRights

監査するアクセスの種類を指定する EventWaitHandleRights 値のビットごとの組み合わせ。

flags
AuditFlags

成功、失敗、またはその両方を監査するかどうかを指定する AuditFlags 値のビットごとの組み合わせ。

例外

eventRights は無効な値を指定します。

-又は-

flags は無効な値を指定します。

identitynullです。

-又は-

eventRights は 0 です。

identitySecurityIdentifier型でも、型NTAccountに変換できるSecurityIdentifierなどの型でもありません。

注釈

ユーザーまたはグループ名を表す文字列から NTAccount オブジェクトを作成するには、 NTAccount.NTAccount(String) コンストラクターを使用します。

適用対象