ActiveDirectoryAccessRule 构造函数

定义

初始化 ActiveDirectoryAccessRule 类的新实例。

重载

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

使用指定的标识引用、Active Directory 域服务权限和访问规则类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限和访问规则类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

适用于

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

适用于

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限、访问规则类型和对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

objectType
Guid

应用访问规则的对象的架构 GUID。

适用于

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

inheritedObjectType
Guid

可继承此访问规则的子对象类型的架构 GUID。

适用于

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型和继承类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

objectType
Guid

应用访问规则的对象的架构 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

适用于

ActiveDirectoryAccessRule(IdentityReference, ActiveDirectoryRights, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

使用指定的标识引用、Active Directory 域服务权限、访问规则类型、对象类型、继承类型和继承对象类型来初始化 ActiveDirectoryAccessRule 类的新实例。

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 对象,标识访问规则的受信者。

adRights
ActiveDirectoryRights

指定访问规则权限的一个或多个 ActiveDirectoryRights 枚举值的组合。

type
AccessControlType

指定访问规则类型的 AccessControlType 枚举值之一。

objectType
Guid

应用访问规则的对象的架构 GUID。

inheritanceType
ActiveDirectorySecurityInheritance

ActiveDirectorySecurityInheritance 枚举值之一,指定访问规则的继承类型。

inheritedObjectType
Guid

可继承此访问规则的子对象类型的架构 GUID。

适用于