ActiveDirectoryAccessRule 构造函数
定义
初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class.
重载
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType) |
使用指定的标识引用、Active Directory 域服务权限和访问规则类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, and access rule type. |
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance) |
使用指定的标识引用、Active Directory 域服务权限、访问规则类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, and inheritance type. |
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid) |
使用指定的标识引用、Active Directory 域服务权限、访问规则类型和对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, and object type. |
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid) |
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, inheritance type, and inherited object type. |
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance) |
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, object type, and inheritance type. |
| ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid) |
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, object type, inheritance type, and inherited object type. |
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)
使用指定的标识引用、Active Directory 域服务权限和访问规则类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, and access rule type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object which identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.
适用于
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)
使用指定的标识引用、Active Directory 域服务权限、访问规则类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, and inheritance type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.
- inheritanceType
- ActiveDirectorySecurityInheritance
ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.
适用于
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)
使用指定的标识引用、Active Directory 域服务权限、访问规则类型和对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, and object type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type, Guid objectType);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type, Guid objectType);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType * Guid -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType, objectType As Guid)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.
- objectType
- Guid
应用访问规则的对象的架构 GUID。The schema GUID of the object to which the access rule applies.
适用于
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, inheritance type, and inherited object type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object which identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule 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.
适用于
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, object type, and inheritance type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type, Guid objectType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type, Guid objectType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType, objectType As Guid, inheritanceType As ActiveDirectorySecurityInheritance)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.
- objectType
- Guid
应用访问规则的对象的架构 GUID。The schema GUID of the object to which the access rule applies.
- inheritanceType
- ActiveDirectorySecurityInheritance
ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.
适用于
ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)
使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。Initializes a new instance of the ActiveDirectoryAccessRule class with the specified identity reference, Active Directory Domain Services rights, access rule type, object type, inheritance type, and inherited object type.
public:
ActiveDirectoryAccessRule(System::Security::Principal::IdentityReference ^ identity, System::DirectoryServices::ActiveDirectoryRights adRights, System::Security::AccessControl::AccessControlType type, Guid objectType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ActiveDirectoryAccessRule (System.Security.Principal.IdentityReference identity, System.DirectoryServices.ActiveDirectoryRights adRights, System.Security.AccessControl.AccessControlType type, Guid objectType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ActiveDirectoryAccessRule : System.Security.Principal.IdentityReference * System.DirectoryServices.ActiveDirectoryRights * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ActiveDirectoryAccessRule
Public Sub New (identity As IdentityReference, adRights As ActiveDirectoryRights, type As AccessControlType, objectType As Guid, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)
参数
- identity
- IdentityReference
一个 IdentityReference 对象,标识访问规则的受信者。An IdentityReference object that identifies the trustee of the access rule.
- adRights
- ActiveDirectoryRights
指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。A combination of one or more of the ActiveDirectoryRights enumeration values that specifies the rights of the access rule.
- type
- AccessControlType
指定访问规则类型的 AccessControlType 枚举值之一。One of the AccessControlType enumeration values that specifies the access rule type.
- objectType
- Guid
应用访问规则的对象的架构 GUID。The schema GUID of the object to which the access rule applies.
- 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.