GenericAce GenericAce GenericAce GenericAce Class

Definition

Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.

public ref class GenericAce abstract
public abstract class GenericAce
type GenericAce = class
Public MustInherit Class GenericAce
Inheritance
GenericAceGenericAceGenericAceGenericAce
Derived

Remarks

An ACE contains both an ACE header and a binary blob. The header contains information about the type of the ACE, various flags, and the size of the binary blob.

Properties

AceFlags AceFlags AceFlags AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

AceType AceType AceType AceType

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

AuditFlags AuditFlags AuditFlags AuditFlags

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

BinaryLength BinaryLength BinaryLength BinaryLength

Gets the length, in bytes, of the binary representation of the current GenericAce 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).

IsInherited IsInherited IsInherited IsInherited

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

PropagationFlags PropagationFlags PropagationFlags PropagationFlags

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

Methods

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

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

CreateFromBinaryForm(Byte[], Int32) CreateFromBinaryForm(Byte[], Int32) CreateFromBinaryForm(Byte[], Int32) CreateFromBinaryForm(Byte[], Int32)

Creates a GenericAce object from the specified binary data.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

GetBinaryForm(Byte[], Int32) GetBinaryForm(Byte[], Int32) GetBinaryForm(Byte[], Int32) GetBinaryForm(Byte[], Int32)

Marshals the contents of the GenericAce 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.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Operators

Equality(GenericAce, GenericAce) Equality(GenericAce, GenericAce) Equality(GenericAce, GenericAce) Equality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered equal.

Inequality(GenericAce, GenericAce) Inequality(GenericAce, GenericAce) Inequality(GenericAce, GenericAce) Inequality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered unequal.

Applies to