Class NtfsRuleBase
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents an individual NTFS rule base class.
public class NtfsRuleBase : GlobalSerializableClassicBase, IComparable<NtfsRuleBase>
- Inheritance
-
NtfsRuleBase
- Implements
- Derived
Constructors
NtfsRuleBase()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.NtfsRuleBase class.
public NtfsRuleBase()
Properties
Account
Gets or sets the account assigned to the rule.
public SerializableAccountReference Account { get; set; }
Property Value
- SerializableAccountReference
IsInherited
Gets or sets whether the rule is inherited from a parent object.
public BooleanOption IsInherited { get; set; }
Property Value
PropagationType
Gets or sets the propagation type for this rule.
public NtfsRulePropagationType PropagationType { get; set; }
Property Value
PropagationTypeString
Gets the propagation type in a human readable format - for example applies to "This folder, subfolders and files".
public string PropagationTypeString { get; set; }
Property Value
Rights
Gets or sets the access rights for the rule.
public NtfsFileSystemRights Rights { get; set; }
Property Value
Remarks
Certain access rights such as 268435456 represent full control on a root folder, these are replaced with the standard full control access rights enumeration value.
RightsStrings
Gets the access rights for the rule.
public SerializableStringCollection RightsStrings { get; }
Property Value
- SerializableStringCollection
Remarks
The "Synchronize" right is removed as this is not displayed in the user interface on Windows machines.
Methods
CompareTo(NtfsRuleBase)
Compares two CENTREL.XIA.Configuration.Types.NtfsRuleBase objects to allow sorting alphabetically by account name.
public int CompareTo(NtfsRuleBase other)
Parameters
other
NtfsRuleBaseThe CENTREL.XIA.Configuration.Types.NtfsRuleBase to compare to.
Returns
Remarks
The sort order of the two CENTREL.XIA.Configuration.Types.NtfsRuleBase objects.