DeleteTreeAccessRule Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the DeleteTreeAccessRule class.
Overloads
DeleteTreeAccessRule(IdentityReference, AccessControlType) |
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference and access control type. |
DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance) |
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference, access control type, and Active Directory Domain Services security inheritance. |
DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid) |
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference, access control type, Active Directory Domain Services security inheritance, and inherited object type. |
DeleteTreeAccessRule(IdentityReference, AccessControlType)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference and access control type.
public:
DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.DeleteTreeAccessRule
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.
Applies to
DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference, access control type, and Active Directory Domain Services security inheritance.
public:
DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.DeleteTreeAccessRule
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.
Applies to
DeleteTreeAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
Initializes a new instance of the DeleteTreeAccessRule class with the specified identity reference, access control type, Active Directory Domain Services security inheritance, and inherited object type.
public:
DeleteTreeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public DeleteTreeAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.DeleteTreeAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.DeleteTreeAccessRule
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.