Redigera

Dela via


PropertySetAccessRule Constructors

Definition

Initializes a new instance of the PropertySetAccessRule class.

Overloads

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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

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

Initializes a new instance of the PropertySetAccessRule class with the specified identity reference, access control type, property access type, property set identifier, and Active Directory Domain Services security inheritance information.

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

Initializes a new instance of the PropertySetAccessRule class with the specified identity reference, access control type, property access type, property set identifier, inheritance type, and inherited object type.

PropertySetAccessRule(IdentityReference, AccessControlType, PropertyAccess, Guid)

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

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

public:
 PropertySetAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::PropertyAccess access, Guid propertySetType);
public PropertySetAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.PropertyAccess access, Guid propertySetType);
new System.DirectoryServices.PropertySetAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.PropertyAccess * Guid -> System.DirectoryServices.PropertySetAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, access As PropertyAccess, propertySetType 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.

propertySetType
Guid

The Rights-Guid of the property set that this access rule applies to. In the Active Directory Domain Services schema documentation, this information can be found in the Rights-GUID row on the reference page for each property set. For more information, see the Rights-Guid attribute article. For a list of property sets, see the Property Sets article.

Applies to

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

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

Initializes a new instance of the PropertySetAccessRule class with the specified identity reference, access control type, property access type, property set identifier, and Active Directory Domain Services security inheritance information.

public:
 PropertySetAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::PropertyAccess access, Guid propertySetType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType);
public PropertySetAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.PropertyAccess access, Guid propertySetType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType);
new System.DirectoryServices.PropertySetAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.PropertyAccess * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance -> System.DirectoryServices.PropertySetAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, access As PropertyAccess, propertySetType 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.

propertySetType
Guid

The Rights-Guid of the property set that this access rule applies to. In the Active Directory Domain Services schema documentation, this information can be found in the Rights-GUID row on the reference page for each property set. For more information, see the Rights-Guid attribute article.

For a list of property sets, see the Property Sets article.

inheritanceType
ActiveDirectorySecurityInheritance

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

Applies to

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

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

Initializes a new instance of the PropertySetAccessRule class with the specified identity reference, access control type, property access type, property set identifier, inheritance type, and inherited object type.

public:
 PropertySetAccessRule(System::Security::Principal::IdentityReference ^ identity, System::Security::AccessControl::AccessControlType type, System::DirectoryServices::PropertyAccess access, Guid propertySetType, System::DirectoryServices::ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
public PropertySetAccessRule (System.Security.Principal.IdentityReference identity, System.Security.AccessControl.AccessControlType type, System.DirectoryServices.PropertyAccess access, Guid propertySetType, System.DirectoryServices.ActiveDirectorySecurityInheritance inheritanceType, Guid inheritedObjectType);
new System.DirectoryServices.PropertySetAccessRule : System.Security.Principal.IdentityReference * System.Security.AccessControl.AccessControlType * System.DirectoryServices.PropertyAccess * Guid * System.DirectoryServices.ActiveDirectorySecurityInheritance * Guid -> System.DirectoryServices.PropertySetAccessRule
Public Sub New (identity As IdentityReference, type As AccessControlType, access As PropertyAccess, propertySetType 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.

access
PropertyAccess

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

propertySetType
Guid

The Rights-Guid of the property set that this access rule applies to. In the Active Directory Domain Services schema documentation, this information can be found in the Rights-GUID row on the reference page for each property set. For more information, see the Rights-Guid attribute article.

For a list of property sets, see the Property Sets 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