Export (0) Print
Expand All

ObjectAce Class

Controls access to Directory Services objects. This class represents an Access Control Entry (ACE) associated with a directory object.

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

public sealed class ObjectAce : QualifiedAce

The ObjectAce type exposes the following members.

  NameDescription
Public methodObjectAceInitiates a new instance of the ObjectAce class.
Top

  NameDescription
Public propertyAccessMaskGets or sets the access mask for this KnownAce object. (Inherited from KnownAce.)
Public propertyAceFlagsGets or sets the AceFlags associated with this GenericAce object. (Inherited from GenericAce.)
Public propertyAceQualifierGets a value that specifies whether the ACE allows access, denies access, causes system audits, or causes system alarms. (Inherited from QualifiedAce.)
Public propertyAceTypeGets the type of this Access Control Entry (ACE). (Inherited from GenericAce.)
Public propertyAuditFlagsGets the audit information associated with this Access Control Entry (ACE). (Inherited from GenericAce.)
Public propertyBinaryLengthGets the length, in bytes, of the binary representation of the current ObjectAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm method. (Overrides GenericAce.BinaryLength.)
Public propertyInheritanceFlagsGets flags that specify the inheritance properties of this Access Control Entry (ACE). (Inherited from GenericAce.)
Public propertyInheritedObjectAceTypeGets or sets the GUID of the object type that can inherit the Access Control Entry (ACE) that this ObjectAce object represents.
Public propertyIsCallbackSpecifies whether this QualifiedAce object contains callback data. (Inherited from QualifiedAce.)
Public propertyIsInheritedGets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly. (Inherited from GenericAce.)
Public propertyObjectAceFlagsGets or sets flags that specify whether the ObjectAceType and InheritedObjectAceType properties contain values that identify valid object types.
Public propertyObjectAceTypeGets or sets the GUID of the object type associated with this ObjectAce object.
Public propertyOpaqueLengthGets the length of the opaque callback data associated with this QualifiedAce object. This property is valid only for callback Access Control Entries (ACEs). (Inherited from QualifiedAce.)
Public propertyPropagationFlagsGets flags that specify the inheritance propagation properties of this Access Control Entry (ACE). (Inherited from GenericAce.)
Public propertySecurityIdentifierGets or sets the SecurityIdentifier object associated with this KnownAce object. (Inherited from KnownAce.)
Top

  NameDescription
Public methodCopyCreates a deep copy of this Access Control Entry (ACE). (Inherited from GenericAce.)
Public methodEqualsDetermines whether the specified GenericAce object is equal to the current GenericAce object. (Inherited from GenericAce.)
Public methodGetBinaryFormMarshals the contents of the ObjectAce object into the specified byte array beginning at the specified offset. (Overrides GenericAce.GetBinaryForm(Byte[], Int32).)
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. (Inherited from GenericAce.)
Public methodGetOpaqueReturns the opaque callback data associated with this QualifiedAce object. (Inherited from QualifiedAce.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodStatic memberMaxOpaqueLengthReturns the maximum allowed length, in bytes, of an opaque data BLOB for callback Access Control Entries (ACEs).
Public methodSetOpaqueSets the opaque callback data associated with this QualifiedAce object. (Inherited from QualifiedAce.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.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