Rediger

Del via


ActiveDirectoryAuditRule Constructors

Definition

Initializes a new instance of the ActiveDirectoryAuditRule class.

Overloads

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags)

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, and flags.

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance)

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, and inheritance type.

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid)

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, and object type.

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

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, inheritance type, and inherited object type.

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

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, object type, and inheritance type.

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

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, object type, inheritance type, and inherited object type.

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, and flags.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains the combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter may not be zero.

Applies to

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, and inheritance type.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains a combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter can not be zero.

inheritanceType
ActiveDirectorySecurityInheritance

Specifies the ActiveDirectorySecurityInheritance object that contains inheritance information. The allowable flags for this parameter are found in the ActiveDirectorySecurityInheritance enumeration.

Applies to

ActiveDirectoryAuditRule(IdentityReference, ActiveDirectoryRights, AuditFlags, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, and object type.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains the combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter can not be zero.

objectType
Guid

Specifies a Guid object that contains the GUID of the object to which the access permissions apply.

Applies to

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

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, inheritance type, and inherited object type.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights data type object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains the combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter may not be zero.

inheritanceType
ActiveDirectorySecurityInheritance

Specifies the ActiveDirectorySecurityInheritance object that contains inheritance information. The allowable flags for this parameter are found in the ActiveDirectorySecurityInheritance enumeration.

inheritedObjectType
Guid

Specifies the Guid object that identifies the type of child object that can inherit this access rule.

Applies to

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

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, object type, and inheritance type.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains the combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter may not be zero.

objectType
Guid

Specifies a Guid object which contains the GUID of the object to which the access permissions apply.

inheritanceType
ActiveDirectorySecurityInheritance

Specifies the ActiveDirectorySecurityInheritance object that contains inheritance information. The allowable flags for this parameter are found in the ActiveDirectorySecurityInheritance enumeration.

Applies to

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

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the ActiveDirectoryAuditRule class with the specified identity, rights, flags, object type, inheritance type, and inherited object type.

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)

Parameters

identity
IdentityReference

Specifies an IdentityReference object, such as an NTAccount object, that resolves to a security identifier (SID).

adRights
ActiveDirectoryRights

Specifies an ActiveDirectoryRights object, which is used to define all the rights that can be set on a directory object, as defined in the ActiveDirectoryRights enumeration.

auditFlags
AuditFlags

Specifies an AuditFlags object, which contains the combination of one or more audit flags to add to this ActiveDirectoryAuditRule. The allowable flags are Success and Failure. This parameter may not be zero.

objectType
Guid

Specifies a Guid object that contains the GUID of the object to which the access permissions apply.

inheritanceType
ActiveDirectorySecurityInheritance

Specifies the ActiveDirectorySecurityInheritance object that contains inheritance information. The allowable flags for this parameter are found in the ActiveDirectorySecurityInheritance enumeration.

inheritedObjectType
Guid

Specifies the Guid object that identifies the type of child object that can inherit this access rule.

Applies to