CustomAce Class

 

Represents an Access Control Entry (ACE) that is not defined by one of the members of the AceType enumeration.

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

System.Object
  System.Security.AccessControl.GenericAce
    System.Security.AccessControl.CustomAce

public sealed class CustomAce : GenericAce

NameDescription
System_CAPS_pubmethodCustomAce(AceType, AceFlags, Byte[])

Initializes a new instance of the CustomAce class.

NameDescription
System_CAPS_pubpropertyAceFlags

Gets or sets the AceFlags associated with this GenericAce object.(Inherited from GenericAce.)

System_CAPS_pubpropertyAceType

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

System_CAPS_pubpropertyAuditFlags

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

System_CAPS_pubpropertyBinaryLength

Gets the length, in bytes, of the binary representation of the current CustomAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method.(Overrides GenericAce.BinaryLength.)

System_CAPS_pubpropertyInheritanceFlags

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

System_CAPS_pubpropertyIsInherited

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

System_CAPS_pubpropertyOpaqueLength

Gets the length of the opaque data associated with this CustomAce object.

System_CAPS_pubpropertyPropagationFlags

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

NameDescription
System_CAPS_pubmethodCopy()

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

System_CAPS_pubmethodEquals(Object)

Determines whether the specified GenericAce object is equal to the current GenericAce object.(Inherited from GenericAce.)

System_CAPS_pubmethodGetBinaryForm(Byte[], Int32)

Marshals the contents of the CustomAce object into the specified byte array beginning at the specified offset.(Overrides GenericAce.GetBinaryForm(Byte[], Int32).)

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

System_CAPS_pubmethodGetOpaque()

Returns the opaque data associated with this CustomAce object.

System_CAPS_pubmethodGetType()

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

System_CAPS_pubmethodSetOpaque(Byte[])

Sets the opaque callback data associated with this CustomAce object.

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticMaxOpaqueLength

Returns the maximum allowed length of an opaque data blob for this CustomAce object.

A CustomAce object contains an ACE header and an opaque blob of data.

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