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)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

adRights
ActiveDirectoryRights

指定一个 ActiveDirectoryRights 对象,它用于定义所有可以在目录对象上设置的权限(在 ActiveDirectoryRights 枚举中定义)。

auditFlags
AuditFlags

指定一个 AuditFlags 对象,此对象包含一个或多个要添加到此 ActiveDirectoryAuditRule 的审核标志的组合。 允许使用的标志是 SuccessFailure。 此参数不能为零。

适用于

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

adRights
ActiveDirectoryRights

指定一个 ActiveDirectoryRights 对象,它用于定义所有可以在目录对象上设置的权限(在 ActiveDirectoryRights 枚举中定义)。

auditFlags
AuditFlags

指定一个 AuditFlags 对象,此对象包含一个或多个要添加到此 ActiveDirectoryAuditRule 的审核标志的组合。 允许使用的标志是 SuccessFailure。 此参数不能为零。

inheritanceType
ActiveDirectorySecurityInheritance

指定包含继承信息的 ActiveDirectorySecurityInheritance 对象。 此参数允许使用的标志可在 ActiveDirectorySecurityInheritance 枚举中找到。

适用于

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

adRights
ActiveDirectoryRights

指定一个 ActiveDirectoryRights 对象,它用于定义所有可以在目录对象上设置的权限(在 ActiveDirectoryRights 枚举中定义)。

auditFlags
AuditFlags

指定一个 AuditFlags 对象,此对象包含一个或多个要添加到此 ActiveDirectoryAuditRule 的审核标志的组合。 允许使用的标志是 SuccessFailure。 此参数不能为零。

objectType
Guid

指定一个 Guid 对象,此对象包含访问权限应用于的对象的 GUID。

适用于

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

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

adRights
ActiveDirectoryRights

指定一个 ActiveDirectoryRights 数据类型对象,它用于定义所有可以在目录对象上设置的权限(在 ActiveDirectoryRights 枚举中定义)。

auditFlags
AuditFlags

指定一个 AuditFlags 对象,此对象包含一个或多个要添加到此 ActiveDirectoryAuditRule 的审核标志的组合。 允许使用的标志是 SuccessFailure。 此参数不能为零。

inheritanceType
ActiveDirectorySecurityInheritance

指定包含继承信息的 ActiveDirectorySecurityInheritance 对象。 此参数允许使用的标志可在 ActiveDirectorySecurityInheritance 枚举中找到。

inheritedObjectType
Guid

指定标识特定类别子对象的 Guid 对象,这类子对象可继承此访问规则。

适用于

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

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 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)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
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

指定一个解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

adRights
ActiveDirectoryRights

指定一个 ActiveDirectoryRights 对象,它用于定义所有可以在目录对象上设置的权限(在 ActiveDirectoryRights 枚举中定义)。

auditFlags
AuditFlags

指定一个 AuditFlags 对象,此对象包含一个或多个要添加到此 ActiveDirectoryAuditRule 的审核标志的组合。 允许使用的标志是 SuccessFailure。 此参数不能为零。

objectType
Guid

指定一个 Guid 对象,此对象包含访问权限应用于的对象的 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

指定包含继承信息的 ActiveDirectorySecurityInheritance 对象。 此参数允许使用的标志可在 ActiveDirectorySecurityInheritance 枚举中找到。

inheritedObjectType
Guid

指定标识特定类别子对象的 Guid 对象,这类子对象可继承此访问规则。

适用于