Export (0) Print
Expand All

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 abstract class GenericAce

The GenericAce type exposes the following members.

  NameDescription
Public propertyAceFlagsGets or sets the AceFlags associated with this GenericAce object.
Public propertyAceTypeGets the type of this Access Control Entry (ACE).
Public propertyAuditFlagsGets the audit information associated with this Access Control Entry (ACE).
Public propertyBinaryLengthGets 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.
Public propertyInheritanceFlagsGets flags that specify the inheritance properties of this Access Control Entry (ACE).
Public propertyIsInheritedGets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly.
Public propertyPropagationFlagsGets flags that specify the inheritance propagation properties of this Access Control Entry (ACE).
Top

  NameDescription
Public methodCopyCreates a deep copy of this Access Control Entry (ACE).
Public methodStatic memberCreateFromBinaryFormCreates a GenericAce object from the specified binary data.
Public methodEqualsDetermines whether the specified GenericAce object is equal to the current GenericAce object. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetBinaryFormMarshals the contents of the GenericAce object into the specified byte array beginning at the specified offset.
Public methodGetHashCodeServes 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().)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public operatorStatic memberEqualityDetermines whether the specified GenericAce objects are considered equal.
Public operatorStatic memberInequalityDetermines whether the specified GenericAce objects are considered unequal.
Top

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

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

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