CustomAce CustomAce CustomAce CustomAce Class

Definition

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

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

Remarks

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

Constructors

CustomAce(AceType, AceFlags, Byte[]) CustomAce(AceType, AceFlags, Byte[]) CustomAce(AceType, AceFlags, Byte[]) CustomAce(AceType, AceFlags, Byte[])

Initializes a new instance of the CustomAce class.

Fields

MaxOpaqueLength MaxOpaqueLength MaxOpaqueLength MaxOpaqueLength

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

Properties

AceFlags AceFlags AceFlags AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

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

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

PropagationFlags PropagationFlags PropagationFlags PropagationFlags

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

(Inherited from GenericAce)

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 CustomAce 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 data associated with this CustomAce object.

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)
SetOpaque(Byte[]) SetOpaque(Byte[]) SetOpaque(Byte[]) SetOpaque(Byte[])

Sets the opaque callback data associated with this CustomAce object.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to