Edit

Share via


ObjectAce Class

Definition

Controls access to Directory Services objects. This class represents an Access Control Entry (ACE) associated with a directory object.

public ref class ObjectAce sealed : System::Security::AccessControl::QualifiedAce
public sealed class ObjectAce : System.Security.AccessControl.QualifiedAce
type ObjectAce = class
    inherit QualifiedAce
Public NotInheritable Class ObjectAce
Inherits QualifiedAce
Inheritance

Constructors

ObjectAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, ObjectAceFlags, Guid, Guid, Boolean, Byte[])

Initiates a new instance of the ObjectAce class.

Properties

AccessMask

Gets or sets the access mask for this KnownAce object.

(Inherited from KnownAce)
AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

(Inherited from GenericAce)
AceQualifier

Gets a value that specifies whether the ACE allows access, denies access, causes system audits, or causes system alarms.

(Inherited from QualifiedAce)
AceType

Gets the type of this Access Control Entry (ACE).

(Inherited from GenericAce)
AuditFlags

Gets the audit information associated with this Access Control Entry (ACE).

(Inherited from GenericAce)
BinaryLength

Gets the length, in bytes, of the binary representation of the current ObjectAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm(Byte[], Int32) method.

InheritanceFlags

Gets flags that specify the inheritance properties of this Access Control Entry (ACE).

(Inherited from GenericAce)
InheritedObjectAceType

Gets or sets the GUID of the object type that can inherit the Access Control Entry (ACE) that this ObjectAce object represents.

IsCallback

Specifies whether this QualifiedAce object contains callback data.

(Inherited from QualifiedAce)
IsInherited

Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly.

(Inherited from GenericAce)
ObjectAceFlags

Gets or sets flags that specify whether the ObjectAceType and InheritedObjectAceType properties contain values that identify valid object types.

ObjectAceType

Gets or sets the GUID of the object type associated with this ObjectAce object.

OpaqueLength

Gets the length of the opaque callback data associated with this QualifiedAce object. This property is valid only for callback Access Control Entries (ACEs).

(Inherited from QualifiedAce)
PropagationFlags

Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE).

(Inherited from GenericAce)
SecurityIdentifier

Gets or sets the SecurityIdentifier object associated with this KnownAce object.

(Inherited from KnownAce)

Methods

Copy()

Creates a deep copy of this Access Control Entry (ACE).

(Inherited from GenericAce)
Equals(Object)

Determines whether the specified GenericAce object is equal to the current GenericAce object.

(Inherited from GenericAce)
GetBinaryForm(Byte[], Int32)

Marshals the contents of the ObjectAce object into the specified byte array beginning at the specified offset.

GetHashCode()

Serves as a hash function for the GenericAce class. The GetHashCode() method is suitable for use in hashing algorithms and data structures like a hash table.

(Inherited from GenericAce)
GetOpaque()

Returns the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MaxOpaqueLength(Boolean)

Returns the maximum allowed length, in bytes, of an opaque data BLOB for callback Access Control Entries (ACEs).

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetOpaque(Byte[])

Sets the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to