共用方式為


CreateChildAccessRule 建構函式

定義

初始化 CreateChildAccessRule 類別的新執行個體。

多載

CreateChildAccessRule(IdentityReference, AccessControlType)

使用指定的識別參考和存取控制類型,初始化 CreateChildAccessRule 類別的新執行個體。

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

使用指定的識別參考、存取控制型別和 Active Directory 網域服務安全性繼承資訊,初始化 CreateChildAccessRule 類別的新執行個體。

CreateChildAccessRule(IdentityReference, AccessControlType, Guid)

使用指定的識別參考、存取控制型別和子物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別參考、存取控制型別、Active Directory 網域服務安全性繼承資訊和繼承的物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

使用指定的識別參考、存取控制型別、子物件型別和 Active Directory 網域服務安全性繼承資訊,初始化 CreateChildAccessRule 類別的新執行個體。

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

使用指定的識別參考、存取控制型別、子物件型別、Active Directory 網域服務安全性繼承資訊和繼承的物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

CreateChildAccessRule(IdentityReference, AccessControlType)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考和存取控制類型,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

備註

如果您使用這個建構函式,它會建立適用於所有子類型的建立子存取規則。

適用於

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考、存取控制型別和 Active Directory 網域服務安全性繼承資訊,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

inheritanceType
ActiveDirectorySecurityInheritance

其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。

備註

如果您使用這個建構函式,它會建立適用於所有子類型的建立子存取規則。

適用於

CreateChildAccessRule(IdentityReference, AccessControlType, Guid)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考、存取控制型別和子物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

childType
Guid

可以或無法建立之子物件型別的結構描述 GUID。 如果這是 Empty,則存取規則會套用到所有子型別。

適用於

CreateChildAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考、存取控制型別、Active Directory 網域服務安全性繼承資訊和繼承的物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

inheritanceType
ActiveDirectorySecurityInheritance

其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。

inheritedObjectType
Guid

可繼承此存取規則之子物件類型的結構描述 GUID。

備註

如果您使用這個建構函式,它會建立適用於所有子類型的建立子存取規則。

適用於

CreateChildAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考、存取控制型別、子物件型別和 Active Directory 網域服務安全性繼承資訊,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

childType
Guid

可以或無法建立之子物件型別的結構描述 GUID。 如果這是 Empty,則存取規則會套用到所有子型別。

inheritanceType
ActiveDirectorySecurityInheritance

其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。

適用於

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

來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs
來源:
ActiveDirectorySecurity.cs

使用指定的識別參考、存取控制型別、子物件型別、Active Directory 網域服務安全性繼承資訊和繼承的物件型別,初始化 CreateChildAccessRule 類別的新執行個體。

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)

參數

identity
IdentityReference

IdentityReference 物件,可識別存取規則的信任項。

type
AccessControlType

其中一個 AccessControlType 列舉值,可指定存取規則類型。

childType
Guid

可以或無法建立之子物件型別的結構描述 GUID。 如果這是 Empty,則存取規則會套用到所有子型別。

inheritanceType
ActiveDirectorySecurityInheritance

其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。

inheritedObjectType
Guid

可繼承此存取規則之子物件類型的結構描述 GUID。

適用於