Edit

Share via


DeleteChildAccessRule Constructors

Definition

Initializes a new instance of the DeleteChildAccessRule class.

Overloads

DeleteChildAccessRule(IdentityReference, AccessControlType)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference and access control type.

DeleteChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, and Active Directory Domain Services security inheritance.

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, and child type.

DeleteChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, Active Directory Domain Services security inheritance, and inherited object type.

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, child type, and Active Directory Domain Services security inheritance.

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, child type, Active Directory Domain Services security inheritance, and inherited object type.

DeleteChildAccessRule(IdentityReference, AccessControlType)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference and access control type.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

Remarks

If you use this constructor, it creates a delete child access rule that applies to all child types.

Applies to

DeleteChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, and Active Directory Domain Services security inheritance.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

Remarks

If you use this constructor, it creates a delete child access rule that applies to all child types.

Applies to

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, and child type.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, childType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

childType
Guid

The schema GUID of the type of child objects that can or cannot be deleted. If this is Empty, then the access rule applies to all child types.

Applies to

DeleteChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, Active Directory Domain Services security inheritance, and inherited object type.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

The schema GUID of the child object type that can inherit this access rule.

Remarks

If you use this constructor, it creates a delete child access rule that applies to all child types.

Applies to

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, child type, and Active Directory Domain Services security inheritance.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, childType As Guid, inheritanceType As ActiveDirectorySecurityInheritance)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

childType
Guid

The schema GUID of the type of child objects that can or cannot be deleted. If this is Empty, then the access rule applies to all child types.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

Applies to

DeleteChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

Initializes a new instance of the DeleteChildAccessRule class with the specified identity reference, access control type, child type, Active Directory Domain Services security inheritance, and inherited object type.

public:
 DeleteChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public DeleteChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.DeleteChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.DeleteChildAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, childType As Guid, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

childType
Guid

The schema GUID of the type of child objects that can or cannot be deleted. If this is Empty, then the access rule applies to all child types.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

The schema GUID of the child object type that can inherit this access rule.

Applies to