PropertyAccessRule 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 PropertyAccessRule 类的新实例。
重载
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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 枚举值之一,指定属性访问类型。
适用于
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance, Guid)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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 枚举值之一,指定属性访问类型。
- inheritanceType
- ActiveDirectorySecurityInheritance
ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。
适用于
PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid, ActiveDirectorySecurityInheritance, Guid)
- Source:
- ActiveDirectorySecurity.cs
- Source:
- ActiveDirectorySecurity.cs
- Source:
- 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 枚举值之一,指定属性访问类型。
- inheritanceType
- ActiveDirectorySecurityInheritance
ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。
- inheritedObjectType
- Guid
可继承此访问规则的子对象类型的架构 GUID。