CustomAce Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents an Access Control Entry (ACE) that is not defined by one of the members of the AceType enumeration.
public ref class CustomAce sealed : System::Security::AccessControl::GenericAce
public sealed class CustomAce : System.Security.AccessControl.GenericAce
type CustomAce = class
inherit GenericAce
Public NotInheritable Class CustomAce
Inherits GenericAce
- Inheritance
Remarks
A CustomAce object contains an ACE header and an opaque blob of data.
Constructors
CustomAce(AceType, AceFlags, Byte[]) |
Initializes a new instance of the CustomAce class. |
Fields
MaxOpaqueLength |
Returns the maximum allowed length of an opaque data blob for this CustomAce object. |
Properties
AceFlags |
Gets or sets the AceFlags associated with this GenericAce object. (Inherited from GenericAce) |
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 CustomAce object. This length should be used before marshaling the ACL into a binary array with the GetBinaryForm(Byte[], Int32) method. |
InheritanceFlags |
Gets flags that specify the inheritance properties of this Access Control Entry (ACE). (Inherited from GenericAce) |
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 data associated with this CustomAce object. |
PropagationFlags |
Gets flags that specify the inheritance propagation properties of this Access Control Entry (ACE). (Inherited from GenericAce) |
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 CustomAce 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 data associated with this CustomAce object. |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
SetOpaque(Byte[]) |
Sets the opaque callback data associated with this CustomAce object. |
ToString() |
Returns a string that represents the current object. (Inherited from Object) |