Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Security.​AccessControl.​QualifiedAce

Assembly: System.Security.AccessControl

Inheritance: object → GenericAceKnownAce → QualifiedAce

Represents an Access Control Entry (ACE) that contains a qualifier. The qualifier, represented by an <see cref="T:System.Security.AccessControl.AceQualifier" /> object, specifies whether the ACE allows access, denies access, causes system audits, or causes system alarms. The <see cref="T:System.Security.AccessControl.QualifiedAce" /> class is the abstract base class for the <see cref="T:System.Security.AccessControl.CommonAce" /> and <see cref="T:System.Security.AccessControl.ObjectAce" /> classes.

Properties

public AceQualifier
AceQualifier
Gets a value that specifies whether the ACE allows access, denies access, causes system audits, or causes system alarms.
public bool
IsCallback
Specifies whether this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object contains callback data.
public int
OpaqueLength
Gets the length of the opaque callback data associated with this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object. This property is valid only for callback Access Control Entries (ACEs).
public int
AccessMask
Gets or sets the access mask for this <see cref="T:System.Security.AccessControl.KnownAce" /> object.
SecurityIdentifier
Gets or sets the <see cref="T:System.Security.Principal.SecurityIdentifier" /> object associated with this <see cref="T:System.Security.AccessControl.KnownAce" /> object.
public AceFlags
AceFlags
Gets or sets the <see cref="T:System.Security.AccessControl.AceFlags" /> associated with this <see cref="T:System.Security.AccessControl.GenericAce" /> object.
public AceType
AceType
Gets the type of this Access Control Entry (ACE).
public AuditFlags
AuditFlags
Gets the audit information associated with this Access Control Entry (ACE).
public int
BinaryLength
Gets the length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl.GenericAce" /> object. This length should be used before marshaling the ACL into a binary array with the <see cref="M:System.Security.AccessControl.GenericAce.GetBinaryForm(System.Byte[],System.Int32)" /> method.
InheritanceFlags
Gets flags that specify the inheritance properties of this Access Control Entry (ACE).
public bool
IsInherited
Gets a Boolean value that specifies whether this Access Control Entry (ACE) is inherited or is set explicitly.
PropagationFlags
Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE).

Methods

public byte[]
GetOpaque​()
Returns the opaque callback data associated with this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object.
Returns An array of byte values that represents the opaque callback data associated with this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object.
public void
SetOpaque​(byte[] opaque)
Sets the opaque callback data associated with this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object.
opaque An array of byte values that represents the opaque callback data for this <see cref="T:System.Security.AccessControl.QualifiedAce" /> object.
public GenericAce
Copy​()
Inherited from GenericAce
Creates a deep copy of this Access Control Entry (ACE).
Returns The <see cref="T:System.Security.AccessControl.GenericAce" /> object that this method creates.
public bool
Equals​(object o)
Inherited from GenericAce
Determines whether the specified <see cref="T:System.Security.AccessControl.GenericAce" /> object is equal to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.
Returns <see langword="true" /> if the specified <see cref="T:System.Security.AccessControl.GenericAce" /> object is equal to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object; otherwise, <see langword="false" /> .
o The <see cref="T:System.Security.AccessControl.GenericAce" /> object to compare to the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.
public void
GetBinaryForm​(byte[] binaryForm, int offset)
Inherited from GenericAce
Marshals the contents of the <see cref="T:System.Security.AccessControl.GenericAce" /> object into the specified byte array beginning at the specified offset.
binaryForm The byte array into which the contents of the <see cref="T:System.Security.AccessControl.GenericAce" /> is marshaled.
offset The offset at which to start marshaling.
public int
GetHashCode​()
Inherited from GenericAce
Serves as a hash function for the <see cref="T:System.Security.AccessControl.GenericAce" /> class. The <see cref="M:System.Security.AccessControl.GenericAce.GetHashCode" /> method is suitable for use in hashing algorithms and data structures like a hash table.
Returns A hash code for the current <see cref="T:System.Security.AccessControl.GenericAce" /> object.
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object