共用方式為


ActiveDirectoryAuditRule 建構函式

定義

初始化 ActiveDirectoryAuditRule 類別的新執行個體。

多載

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags)

使用指定的識別、權限和旗標,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance)

使用指定的識別、權限、旗標和繼承型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid)

使用指定的識別、權限、旗標和物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別、權限、旗標、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid, ActiveDirectorySecurityInheritance)

使用指定的識別、權限、旗標、物件型別和繼承型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別、權限、旗標、物件型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限和旗標,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 物件,可用來定義能在目錄物件上設定的所有權限 (與 ActiveDirectoryRights 列舉型別中所定義的相同)。

auditFlags
AuditFlags

指定 AuditFlags 物件,其中包含一或多個稽核旗標組合,以加入至這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不能是零。

適用於

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限、旗標和繼承型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags, inheritanceType As ActiveDirectorySecurityInheritance)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 物件,可用來定義能在目錄物件上設定的所有權限 (與 ActiveDirectoryRights 列舉型別中所定義的相同)。

auditFlags
AuditFlags

指定 AuditFlags 物件,其包含一或多個稽核旗標組合,以加入這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不可以是零。

inheritanceType
ActiveDirectorySecurityInheritance

指定含有繼承資訊的 ActiveDirectorySecurityInheritance 物件。 ActiveDirectorySecurityInheritance 列舉型別中找到此參數允許使用的旗標。

適用於

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限、旗標和物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags, Guid objectType);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, Guid objectType);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags * Guid -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags, objectType As Guid)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 物件,可用來定義能在目錄物件上設定的所有權限 (與 ActiveDirectoryRights 列舉型別中所定義的相同)。

auditFlags
AuditFlags

指定 AuditFlags 物件,其中包含一或多個稽核旗標組合,以加入至這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不可以是零。

objectType
Guid

指定 Guid 物件,包含套用了存取權限之物件的 GUID。

適用於

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance, Guid)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限、旗標、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 資料型別物件,其用於定義可以在目錄物件上設定的所有權限,如 ActiveDirectoryRights 列舉型別中所定義。

auditFlags
AuditFlags

指定 AuditFlags 物件,其中包含一或多個稽核旗標組合,以加入至這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不能是零。

inheritanceType
ActiveDirectorySecurityInheritance

指定含有繼承資訊的 ActiveDirectorySecurityInheritance 物件。 ActiveDirectorySecurityInheritance 列舉型別中找到此參數允許使用的旗標。

inheritedObjectType
Guid

指定 Guid 物件,識別可以繼承這個存取規則的子物件型別。

適用於

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid, ActiveDirectorySecurityInheritance)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限、旗標、物件型別和繼承型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags, Guid objectType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, Guid objectType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags, objectType As Guid, inheritanceType As ActiveDirectorySecurityInheritance)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 物件,可用來定義能在目錄物件上設定的所有權限 (與 ActiveDirectoryRights 列舉型別中所定義的相同)。

auditFlags
AuditFlags

指定 AuditFlags 物件,其中包含一或多個稽核旗標組合,以加入至這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不能是零。

objectType
Guid

指定 Guid 物件,包含套用了存取權限之物件的 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

指定含有繼承資訊的 ActiveDirectorySecurityInheritance 物件。 ActiveDirectorySecurityInheritance 列舉型別中找到此參數允許使用的旗標。

適用於

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid, ActiveDirectorySecurityInheritance, Guid)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別、權限、旗標、物件型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAuditRule 類別的新執行個體。

public:
 ActiveDirectoryAuditRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AuditFlags auditFlags, Guid objectType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ActiveDirectoryAuditRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AuditFlags auditFlags, Guid objectType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ActiveDirectoryAuditRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AuditFlags * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ActiveDirectoryAuditRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, auditFlags As AuditFlags, objectType As Guid, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

參數

identity
IdentityReference

指定 IdentityReference 物件,例如可解析為安全識別項 (SID) 的 NTAccount 物件。

adRights
ActiveDirectoryRights

指定 ActiveDirectoryRights 物件,可用來定義能在目錄物件上設定的所有權限 (與 ActiveDirectoryRights 列舉型別中所定義的相同)。

auditFlags
AuditFlags

指定 AuditFlags 物件,其中包含一或多個稽核旗標組合,以加入至這個 ActiveDirectoryAuditRule 中。 允許的旗標為 SuccessFailure。 這個參數不能是零。

objectType
Guid

指定 Guid 物件,包含套用了存取權限之物件的 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

指定含有繼承資訊的 ActiveDirectorySecurityInheritance 物件。 ActiveDirectorySecurityInheritance 列舉型別中找到此參數允許使用的旗標。

inheritedObjectType
Guid

指定 Guid 物件,識別可以繼承這個存取規則的子物件型別。

適用於