共用方式為


PropertyAccessRule 建構函式

定義

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

多載

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)

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

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

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

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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

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

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

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

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

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

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

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

備註

當您使用此建構函式時,它會建立適用於所有屬性類型的屬性存取規則。

適用於

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

inheritanceType
ActiveDirectorySecurityInheritance

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

備註

當您使用此建構函式時,它會建立適用於所有屬性類型的屬性存取規則。

適用於

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

propertyType
Guid

套用了這個存取規則之屬性的結構描述 GUID。 如果這是 Empty,則存取規則會套用至所有屬性型別。

適用於

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

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

inheritanceType
ActiveDirectorySecurityInheritance

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

inheritedObjectType
Guid

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

備註

當您使用此建構函式時,它會建立適用於所有屬性類型的屬性存取規則。

適用於

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

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

propertyType
Guid

套用了這個存取規則之屬性的結構描述 GUID。 如果這是 Empty,則存取規則會套用至所有屬性型別。

inheritanceType
ActiveDirectorySecurityInheritance

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

適用於

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

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

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

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

參數

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

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

propertyType
Guid

套用了這個存取規則之屬性的結構描述 GUID。 如果這是 Empty,則存取規則會套用至所有屬性型別。

inheritanceType
ActiveDirectorySecurityInheritance

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

inheritedObjectType
Guid

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

適用於