แก้ไข

แชร์ผ่าน


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[])

Initializes a new instance of the CommonAce class.

Properties

AccessMask

Gets or sets the access mask for this KnownAce object.

(Inherited from KnownAce)
AceFlags

Gets or sets the AceFlags associated with this GenericAce object.

(Inherited from GenericAce)
AceQualifier

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

(Inherited from QualifiedAce)
AceType

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

(Inherited from GenericAce)
AuditFlags

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

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

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

(Inherited from GenericAce)
IsCallback

Specifies whether this QualifiedAce object contains callback data.

(Inherited from QualifiedAce)
IsInherited

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

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

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

(Inherited from GenericAce)
SecurityIdentifier

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

(Inherited from KnownAce)

Methods

Copy()

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

(Inherited from GenericAce)
Equals(Object)

Determines whether the specified GenericAce object is equal to the current GenericAce object.

(Inherited from GenericAce)
GetBinaryForm(Byte[], Int32)

Marshals the contents of the CommonAce object into the specified byte array beginning at the specified offset.

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()

Returns the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MaxOpaqueLength(Boolean)

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

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
SetOpaque(Byte[])

Sets the opaque callback data associated with this QualifiedAce object.

(Inherited from QualifiedAce)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to