PropertyAccessRule Constructors

Definition

Initializes a new instance of the PropertyAccessRule class.

Overloads

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess)

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

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

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)

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)

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)

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)

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)

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)

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.

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access type.

Remarks

When you use this constructor, it creates a property access rule that applies to all property types.

Applies to

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, ActiveDirectorySecurityInheritance)

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)

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.

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access type.

inheritanceType
ActiveDirectorySecurityInheritance

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

Remarks

When you use this constructor, it creates a property access rule that applies to all property types.

Applies to

PropertyAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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)

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.

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

The schema GUID of the property that this access rule applies to. If this is Empty, then the access rule applies to all property types.

Applies to

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

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)

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.

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access 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

When you use this constructor, it creates a property access rule that applies to all property types.

Applies to

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

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)

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.

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

The schema GUID of the property that this access rule applies to. If this is Empty, then the access rule applies to all property types.

inheritanceType
ActiveDirectorySecurityInheritance

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

Applies to

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

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)

Parameters

identity
IdentityReference

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

type
AccessControlType

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

access
PropertyAccess

One of the PropertyAccess enumeration values that specifies the property access type.

propertyType
Guid

The schema GUID of the property that this access rule applies to. If this is Empty, then the access rule applies to all property types.

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