Edit

Share via


ExtendedRightAccessRule Constructors

Definition

Initializes a new instance of the ExtendedRightAccessRule class.

Overloads

ExtendedRightAccessRule(IdentityReference, AccessControlType)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference and access control type.

ExtendedRightAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, and Active Directory security inheritance.

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, and extended right identifier.

ExtendedRightAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, Active Directory security inheritance, and inherited object type.

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, extended right identifier, and Active Directory security inheritance.

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, extended right identifier, Active Directory security inheritance, and inherited object type.

ExtendedRightAccessRule(IdentityReference, AccessControlType)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference and access control type.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

Remarks

This constructor creates an extended right access rule that applies to all extended rights.

Applies to

ExtendedRightAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, and Active Directory security inheritance.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

Remarks

Using this constructor creates an extended right access rule that applies to all extended rights.

Applies to

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, and extended right identifier.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid extendedRightType);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid extendedRightType);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, extendedRightType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

extendedRightType
Guid

The Rights-Guid of the extended right that this access rule applies to. For more information, see the Rights-Guid article. In the Active Directory schema documentation, this information can be found in the Rights-GUID row on the reference page for each extended right. If this parameter is Empty, the access rule applies to all extended rights. For a list of possible extended rights, see the Extended Rights article.

Applies to

ExtendedRightAccessRule(IdentityReference, AccessControlType, ActiveDirectorySecurityInheritance, Guid)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, Active Directory security inheritance, and inherited object type.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

The schema GUID of the child object type that can inherit this access rule.

Remarks

This constructor creates an extended right access rule that applies to all extended rights.

Applies to

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, extended right identifier, and Active Directory security inheritance.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid extendedRightType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid extendedRightType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, extendedRightType As Guid, inheritanceType As ActiveDirectorySecurityInheritance)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

extendedRightType
Guid

The Rights-Guid of the extended right that this access rule applies to. For more information, see the Rights-Guid article. In the Active Directory schema documentation, this information can be found in the Rights-GUID row on the reference page for each extended right. If this parameter is Empty, the access rule applies to all extended rights. For a list of possible extended rights, see the Extended Rights article.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

Applies to

ExtendedRightAccessRule(IdentityReference, AccessControlType, Guid, ActiveDirectorySecurityInheritance, Guid)

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

Initializes a new instance of the ExtendedRightAccessRule class with the specified identity reference, access control type, extended right identifier, Active Directory security inheritance, and inherited object type.

public:
 ExtendedRightAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, Guid extendedRightType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public ExtendedRightAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, Guid extendedRightType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.ExtendedRightAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.ExtendedRightAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, extendedRightType As Guid, inheritanceType As ActiveDirectorySecurityInheritance, inheritedObjectType As Guid)

Parameters

identity
IdentityReference

An IdentityReference object that identifies the trustee of the access rule.

type
AccessControlType

One of the AccessControlType enumeration values that specifies the access rule type.

extendedRightType
Guid

The Rights-Guid attribute of the extended right that this access rule applies to. For more information, see the Rights-Guid article. In the Active Directory schema documentation, this information can be found in the Rights-GUID row on the reference page for each extended right. If this parameter is Empty, the access rule applies to all extended rights. For a list of possible extended rights, see the Extended Rights article.

inheritanceType
ActiveDirectorySecurityInheritance

One of the ActiveDirectorySecurityInheritance enumeration values that specifies the inheritance type of the access rule.

inheritedObjectType
Guid

The schema GUID of the child object type that can inherit this access rule.

Applies to