Modifier

Partager via


CreateChildAccessRule Constructors

Definition

Initializes a new instance of the CreateChildAccessRule class.

Overloads

CreateChildAccessRule(IdentityReference, AccessControlType)

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

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

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

CreateChildAccessRule(IdentityReference, AccessControlType, Guid)

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

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

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

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

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

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

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

CreateChildAccessRule(IdentityReference, AccessControlType)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.CreateChildAccessRule
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 create child access rule that applies to all child types.

Applies to

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.CreateChildAccessRule
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 create child access rule that applies to all child types.

Applies to

CreateChildAccessRule(IdentityReference, AccessControlType, Guid)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid -> System.DirectoryServices.CreateChildAccessRule
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 created. If this is Empty, then the access rule applies to all child types.

Applies to

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.CreateChildAccessRule
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 create child access rule that applies to all child types.

Applies to

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.CreateChildAccessRule
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 created. 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

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

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

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

public:
 CreateChildAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid childType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public CreateChildAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid childType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.CreateChildAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.CreateChildAccessRule
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 created. 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