ActiveDirectoryAuditRule 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
适用于
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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
- 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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
适用于
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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
- inheritanceType
- ActiveDirectorySecurityInheritance
指定包含继承信息的 ActiveDirectorySecurityInheritance 对象。 此参数允许使用的标志可在 ActiveDirectorySecurityInheritance 枚举中找到。
适用于
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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
- 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 的审核标志的组合。 允许使用的标志是 Success 和 Failure。 此参数不能为零。
- inheritanceType
- ActiveDirectorySecurityInheritance
指定包含继承信息的 ActiveDirectorySecurityInheritance 对象。 此参数允许使用的标志可在 ActiveDirectorySecurityInheritance 枚举中找到。