CommonAce CommonAce CommonAce CommonAce Class

Definition

Represents an access control entry (ACE).

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

Remarks

The CommonAce class represents the eight most common ACE types:

Constructors

CommonAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, Boolean, Byte[]) CommonAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, Boolean, Byte[]) CommonAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, Boolean, Byte[]) CommonAce(AceFlags, AceQualifier, Int32, SecurityIdentifier, Boolean, Byte[])

Initializes a new instance of the CommonAce class.

Properties

AccessMask AccessMask AccessMask AccessMask

Gets or sets the access mask for this KnownAce object.

(Inherited from KnownAce)
AceFlags AceFlags AceFlags AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

(Inherited from GenericAce)
AceQualifier AceQualifier AceQualifier AceQualifier

Gets a value that specifies whether the ACE allows access, denies access, causes system audits, or causes system alarms.

(Inherited from QualifiedAce)
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 CommonAce object. Use this length with the GetBinaryForm(Byte[], Int32) method before marshaling the ACL into a binary array.

InheritanceFlags InheritanceFlags InheritanceFlags InheritanceFlags

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

(Inherited from GenericAce)
IsCallback IsCallback IsCallback IsCallback

Specifies whether this QualifiedAce object contains callback data.

(Inherited from QualifiedAce)
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 callback data associated with this QualifiedAce object. This property is valid only for callback Access Control Entries (ACEs).

(Inherited from QualifiedAce)
PropagationFlags PropagationFlags PropagationFlags PropagationFlags

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

(Inherited from GenericAce)
SecurityIdentifier SecurityIdentifier SecurityIdentifier SecurityIdentifier

Gets or sets the SecurityIdentifier object associated with this KnownAce object.

(Inherited from KnownAce)

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 CommonAce 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 callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean) MaxOpaqueLength(Boolean)

Gets the maximum allowed length of an opaque data BLOB for callback access control entries (ACEs).

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 QualifiedAce object.

(Inherited from QualifiedAce)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to