共用方式為


ActiveDirectoryAccessRule 建構函式

定義

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

多載

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

使用指定的識別參考、Active Directory 網域服務權限和存取規則型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別和繼承型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別和物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、物件型別和繼承型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、物件型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

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

使用指定的識別參考、Active Directory 網域服務權限和存取規則型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

適用於

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

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

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別和繼承型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

inheritanceType
ActiveDirectorySecurityInheritance

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

適用於

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

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

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別和物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

objectType
Guid

套用了存取規則之物件的結構描述 GUID。

適用於

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

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

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

inheritanceType
ActiveDirectorySecurityInheritance

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

inheritedObjectType
Guid

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

適用於

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

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

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、物件型別和繼承型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

objectType
Guid

套用了存取規則之物件的結構描述 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

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

適用於

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

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

使用指定的識別參考、Active Directory 網域服務權限、存取規則型別、物件型別、繼承型別和繼承的物件型別,初始化 ActiveDirectoryAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

adRights
ActiveDirectoryRights

一或多個 ActiveDirectoryRights 列舉型別組合,指定存取規則的權限。

type
AccessControlType

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

objectType
Guid

套用了存取規則之物件的結構描述 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

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

inheritedObjectType
Guid

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

適用於