FileDefaultRule Type
Represents a filesystem default rule.
Remarks
This type represents a filesystem default rule. Please refer to the Default Rules topic for more information.
Fields
AccessFlags int |
The access restrictions enforced by the rule. This field indicates which access restrictions are enforced by the rule. The value of this field is a combination of zero or more of the following:
| ||||||||||||||||||||||||||||||||||||
Mask String |
A file mask that determines which files and directories match the rule. This field reflects the file mask used to determine whether a file or directory matches the rule. In addition to being its primary match qualifier, a rule's mask also serves as its identifier; every rule in a ruleset must have a unique mask. Note that when a rule with a drive letter is added, said drive letter is automatically converted to NT Device format, so this field's value will contain the NT Device name. To determine a drive's drive letter, use the GetVolumeGUID method to obtain its volume GUID, then enumerate its mounting points (which will include any drive letter(s) associated with it). |