Ace Object

The ACE object represents an Access Control Entry (ACE) from the Discretionary Access Control List (DACL) associated with a given file. It encapsulates the account name, domain name and access mask for this ACE. An ACE object can be obtained via the methods File.GetAllowanceAce and File.GetDenialAce

Ace Properties
Property Type/Access
(R) - read-only; (W) - write-only; (RW) - read/write.
AccountName String (R) Specifies the account name for this ACE.
DomainName String (R) Specifies the domain name for this ACE.
AccessMask Long (R) Specifies the Access mask for this ACE. It can be a combination (sum) of the standard as well as object-specific access types defined in the file To check a particular type in the mask, use the CheckFlag method.

Ace Methods
Method Arguments / Return type (if applicable) Comments
CheckFlag Flag As Long

Returns: Boolean

Checks if a particular flag in the access mask is set. Flag can be any combination (sum) of the standard or object-specific access types defined in the file