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.​CompoundAce

Assembly: System.Security.AccessControl

Inheritance: object → GenericAceKnownAce → CompoundAce

Represents a compound Access Control Entry (ACE).

Properties

public int
BinaryLength
Gets the length, in bytes, of the binary representation of the current <see cref="T:System.Security.AccessControl.CompoundAce" /> object. This length should be used before marshaling the ACL into a binary array with the <see cref="M:System.Security.AccessControl.CompoundAce.GetBinaryForm(System.Byte[],System.Int32)" /> method.
CompoundAceType
Gets or sets the type of this <see cref="T:System.Security.AccessControl.CompoundAce" /> object.
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).
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 void
GetBinaryForm​(byte[] binaryForm, int offset)
Marshals the contents of the <see cref="T:System.Security.AccessControl.CompoundAce" /> 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.CompoundAce" /> is marshaled.
offset The offset at which to start marshaling.
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 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