PropertyAccessRule 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 PropertyAccessRule 類別的新執行個體。
多載
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)
使用指定的識別參考、存取控制型別和屬性存取,初始化 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)
使用指定的識別參考、存取控制型別、屬性存取和 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)
使用指定的識別參考、存取控制型別、屬性存取和屬性型別,初始化 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 列舉值,可指定屬性存取類型。
適用於
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance, Guid)
使用指定的識別參考、存取控制型別、屬性存取、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)
使用指定的識別參考、存取控制型別、屬性存取、屬性型別和 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 列舉值,可指定屬性存取類型。
- inheritanceType
- ActiveDirectorySecurityInheritance
其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。
適用於
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid)
使用指定的識別參考、存取控制型別、屬性存取、屬性型別、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 列舉值,可指定屬性存取類型。
- inheritanceType
- ActiveDirectorySecurityInheritance
其中一個 ActiveDirectorySecurityInheritance 列舉值,可指定存取規則的繼承類型。
- inheritedObjectType
- Guid
可繼承此存取規則之子物件類型的結構描述 GUID。