10 private const int AceTypeLength = 4;
18 return _compoundAceType;
22 _compoundAceType = value;
28 public override int BinaryLength => 12 + base.SecurityIdentifier.BinaryLength;
38 _compoundAceType = compoundAceType;
48 accessMask = binaryForm[num + 0] + (binaryForm[num + 1] << 8) + (binaryForm[num + 2] << 16) + (binaryForm[num + 3] << 24);
50 compoundAceType = (
CompoundAceType)(binaryForm[num + num2 + 0] + (binaryForm[num + num2 + 1] << 8));
68 MarshalHeader(binaryForm, offset);
71 binaryForm[num + 0] = (byte)base.AccessMask;
72 binaryForm[num + 1] = (
byte)(base.AccessMask >> 8);
73 binaryForm[num + 2] = (byte)(base.AccessMask >> 16);
74 binaryForm[num + 3] = (byte)(base.AccessMask >> 24);
78 binaryForm[num + num2 + 2] = 0;
79 binaryForm[num + num2 + 3] = 0;
81 base.SecurityIdentifier.GetBinaryForm(binaryForm, num + num2);
Represents a compound Access Control Entry (ACE).
AceType
Defines the available access control entry (ACE) types.
Represents an Access Control Entry (ACE), and is the base class for all other ACE classes.
SecurityIdentifier SecurityIdentifier
Gets or sets the T:System.Security.Principal.SecurityIdentifier object associated with this T:System....
CompoundAce(AceFlags flags, int accessMask, CompoundAceType compoundAceType, SecurityIdentifier sid)
Initializes a new instance of the T:System.Security.AccessControl.CompoundAce class.
CompoundAceType CompoundAceType
Gets or sets the type of this T:System.Security.AccessControl.CompoundAce object.
AceFlags
Specifies the inheritance and auditing behavior of an access control entry (ACE).
Encapsulates all Access Control Entry (ACE) types currently defined by Microsoft Corporation....
override int BinaryLength
Gets the length, in bytes, of the binary representation of the current T:System.Security....
Represents a security identifier (SID) and provides marshaling and comparison operations for SIDs.
Defined but never used. Included here for completeness.
CompoundAceType
Specifies the type of a T:System.Security.AccessControl.CompoundAce object.
override void GetBinaryForm(byte[] binaryForm, int offset)
Marshals the contents of the T:System.Security.AccessControl.CompoundAce object into the specified by...
static readonly int MinBinaryLength
Returns the minimum size, in bytes, of the binary representation of the security identifier.