PropertyAccessRule 构造函数

定义

初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class.

重载

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)

使用指定的标识引用、访问控制类型和属性访问来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, and property access.

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

使用指定的标识引用、访问控制类型、属性访问和 Active Directory 域服务安全继承来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, and Active Directory Domain Services security inheritance.

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

使用指定的标识引用、访问控制类型、属性访问和属性类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, and property type.

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

使用指定的标识引用、访问控制类型、属性访问、Active Directory 域服务安全继承和继承对象类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, Active Directory Domain Services security inheritance, and inherited object type.

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

使用指定的标识引用、访问控制类型、属性访问、属性类型和 Active Directory 域服务安全继承来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, property type, and Active Directory Domain Services security inheritance.

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

使用指定的标识引用、访问控制类型、属性访问、属性类型、Active Directory 域服务安全继承和继承对象类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, property type, Active Directory Domain Services security inheritance, and inherited object type.

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)

使用指定的标识引用、访问控制类型和属性访问来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, and property access.

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 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

注解

使用此构造函数时,它将创建一个应用于所有属性类型的属性访问规则。When you use this constructor, it creates a property access rule that applies to all property types.

适用于

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

使用指定的标识引用、访问控制类型、属性访问和 Active Directory 域服务安全继承来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, and Active Directory Domain Services security inheritance.

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 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

注解

使用此构造函数时,它将创建一个应用于所有属性类型的属性访问规则。When you use this constructor, it creates a property access rule that applies to all property types.

适用于

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

使用指定的标识引用、访问控制类型、属性访问和属性类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, and property type.

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 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

应用此访问规则的属性的架构 GUID。The schema GUID of the property that this access rule applies to. 如果为 Empty,则该访问规则应用于所有属性类型。If this is Empty, then the access rule applies to all property types.

适用于

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

使用指定的标识引用、访问控制类型、属性访问、Active Directory 域服务安全继承和继承对象类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, Active Directory Domain Services security inheritance, and inherited object type.

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 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

可继承此访问规则的子对象类型的架构 GUID。The schema GUID of the child object type that can inherit this access rule.

注解

使用此构造函数时,它将创建一个应用于所有属性类型的属性访问规则。When you use this constructor, it creates a property access rule that applies to all property types.

适用于

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

使用指定的标识引用、访问控制类型、属性访问、属性类型和 Active Directory 域服务安全继承来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, property type, and Active Directory Domain Services security inheritance.

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 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

应用此访问规则的属性的架构 GUID。The schema GUID of the property that this access rule applies to. 如果为 Empty,则该访问规则应用于所有属性类型。If this is Empty, then the access rule applies to all property types.

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

适用于

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

使用指定的标识引用、访问控制类型、属性访问、属性类型、Active Directory 域服务安全继承和继承对象类型来初始化 PropertyAccessRule 类的新实例。Initializes a new instance of the PropertyAccessRule class with the specified identity reference, access control type, property access, property type, Active Directory Domain Services security inheritance, and inherited object type.

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 对象,标识访问规则的受信者。An IdentityReference object which identifies the trustee of the access rule.

type
AccessControlType

AccessControlType 枚举值之一,它指定访问规则类型。One of the AccessControlType enumeration values which specifies the access rule type.

access
PropertyAccess

PropertyAccess 枚举值之一,指定属性访问类型。One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

应用此访问规则的属性的架构 GUID。The schema GUID of the property that this access rule applies to. 如果为 Empty,则该访问规则应用于所有属性类型。If this is Empty, then the access rule applies to all property types.

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

可继承此访问规则的子对象类型的架构 GUID。The schema GUID of the child object type that can inherit this access rule.

适用于