ObjectAce ObjectAce ObjectAce 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[]) ObjectAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, ObjectAceFlags, Guid, Guid, Boolean, Byte[]) ObjectAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, ObjectAceFlags, Guid, Guid, Boolean, Byte[]) ObjectAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, ObjectAceFlags, Guid, Guid, Boolean, Byte[])

Initiates a new instance of the ObjectAce class.

Properties

AccessMask AccessMask AccessMask AccessMask

Gets or sets the access mask for this KnownAce object.

(Inherited from KnownAce)
AceFlags AceFlags AceFlags AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

(Inherited from GenericAce)
AceQualifier AceQualifier AceQualifier AceQualifier

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

(Inherited from QualifiedAce)
AceType AceType AceType AceType

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

(Inherited from GenericAce)
AuditFlags AuditFlags AuditFlags AuditFlags

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

(Inherited from GenericAce)
BinaryLength BinaryLength BinaryLength 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 InheritanceFlags InheritanceFlags InheritanceFlags

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

(Inherited from GenericAce)
InheritedObjectAceType InheritedObjectAceType InheritedObjectAceType InheritedObjectAceType

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

IsCallback IsCallback IsCallback IsCallback

Specifies whether this QualifiedAce object contains callback data.

(Inherited from QualifiedAce)
IsInherited IsInherited IsInherited IsInherited

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

(Inherited from GenericAce)
ObjectAceFlags ObjectAceFlags ObjectAceFlags ObjectAceFlags

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

ObjectAceType ObjectAceType ObjectAceType ObjectAceType

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

OpaqueLength OpaqueLength OpaqueLength 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 PropagationFlags PropagationFlags PropagationFlags

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

(Inherited from GenericAce)
SecurityIdentifier SecurityIdentifier SecurityIdentifier SecurityIdentifier

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

(Inherited from KnownAce)

Methods

Copy() Copy() Copy() Copy()

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

(Inherited from GenericAce)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

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

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

GetHashCode() GetHashCode() GetHashCode() 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() GetOpaque() GetOpaque() GetOpaque()

Returns the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean)

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

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetOpaque(Byte[]) SetOpaque(Byte[]) SetOpaque(Byte[]) SetOpaque(Byte[])

Sets the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to