GenericAce Class

 

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

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)


Public MustInherit Class GenericAce

NameDescription
System_CAPS_pubpropertyAceFlags

Gets or sets the AceFlags associated with this GenericAce object.

System_CAPS_pubpropertyAceType

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

System_CAPS_pubpropertyAuditFlags

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

System_CAPS_pubpropertyBinaryLength

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 method.

System_CAPS_pubpropertyInheritanceFlags

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

System_CAPS_pubpropertyIsInherited

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

System_CAPS_pubpropertyPropagationFlags

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

NameDescription
System_CAPS_pubmethodCopy()

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

System_CAPS_pubmethodSystem_CAPS_staticCreateFromBinaryForm(Byte(), Int32)

Creates a GenericAce object from the specified binary data.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified GenericAce object is equal to the current GenericAce object.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetBinaryForm(Byte(), Int32)

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

System_CAPS_pubmethodGetHashCode()

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.(Overrides Object.GetHashCode().)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(GenericAce, GenericAce)

Determines whether the specified GenericAce objects are considered unequal.

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.

.NET Framework
Available since 2.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: