PropertySetAccessRule 建構函式

定義

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

多載

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

使用指定的識別參考、存取控制類型、屬性存取類型和屬性集識別項,初始化 PropertySetAccessRule 類別的新執行個體。

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance)

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

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid)

使用指定的識別參考、存取控制類型、屬性存取類型、屬性集識別項、繼承類型和繼承的物件類型,初始化 PropertySetAccessRule 類別的新執行個體。

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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

使用指定的識別參考、存取控制類型、屬性存取類型和屬性集識別項,初始化 PropertySetAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

其中一個 PropertyAccess 列舉值,可指定屬性存取類型。

propertySetType
Guid

套用了這項存取規則之屬性集的 Rights-Guid。 在 Active Directory 網域服務結構描述文件中,可在每個屬性集之參考頁面上的 [Rights-GUID] 資料列中找到這項資訊。 如需詳細資訊,請參閱 Rights-Guid 屬性一文。 如需屬性集清單,請參閱屬性集一文。

適用於

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance)

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

其中一個 PropertyAccess 列舉值,可指定屬性存取類型。

propertySetType
Guid

套用了這項存取規則之屬性集的 Rights-Guid。 在 Active Directory 網域服務結構描述文件中,可在每個屬性集之參考頁面上的 [Rights-GUID] 資料列中找到這項資訊。 如需詳細資訊,請參閱 Rights-Guid 屬性一文。

如需屬性集清單,請參閱屬性集一文。

inheritanceType
ActiveDirectorySecurityInheritance

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

適用於

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid)

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

使用指定的識別參考、存取控制類型、屬性存取類型、屬性集識別項、繼承類型和繼承的物件類型,初始化 PropertySetAccessRule 類別的新執行個體。

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

其中一個 PropertyAccess 列舉值,可指定屬性存取類型。

propertySetType
Guid

套用了這項存取規則之屬性集的 Rights-Guid。 在 Active Directory 網域服務結構描述文件中,可在每個屬性集之參考頁面上的 [Rights-GUID] 資料列中找到這項資訊。 如需詳細資訊,請參閱 Rights-Guid 屬性一文。

如需屬性集清單,請參閱屬性集一文。

inheritanceType
ActiveDirectorySecurityInheritance

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

inheritedObjectType
Guid

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

適用於