Class WindowsGenericAccessControlEntry
- Namespace
- CENTREL.XIA.Configuration.Types
- Assembly
- CENTREL.XIA.Configuration.Types.dll
Represents a Windows common access control entries (ACE).
public class WindowsGenericAccessControlEntry : GlobalSerializableClassicBase, IComparable<WindowsGenericAccessControlEntry>, IEquatable<WindowsGenericAccessControlEntry>
- Inheritance
-
WindowsGenericAccessControlEntry
- Implements
Constructors
WindowsGenericAccessControlEntry()
Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsGenericAccessControlEntry class.
public WindowsGenericAccessControlEntry()
Properties
AccessFlags
Gets the access flags.
[Browsable(false)]
public Enum AccessFlags { get; }
Property Value
AccessFlagsString
Gets the access flags as a human readable string.
public string AccessFlagsString { get; set; }
Property Value
AccessMask
Gets or sets the access mask for this common ace.
public int AccessMask { get; set; }
Property Value
Remarks
A resource file designed for the specific usage of the security descriptor must be used to resolve the common access control entry value.
AccessMaskType
Gets or sets the type that is used to generate the flags.
[Browsable(false)]
public Type AccessMaskType { get; set; }
Property Value
AccountName
Gets or sets the name of the account to which this access control entry applies.
public string AccountName { get; set; }
Property Value
AceType
Gets or sets the type of entry that this generic access control entry represents.
public WindowsGenericAceType AceType { get; set; }
Property Value
AceTypeString
Gets the type of entry that this access control entry represents in a human readable format.
public string AceTypeString { get; set; }
Property Value
AuditFlags
Gets or sets the audit flags assigned to this access control entry.
public WindowsGenericAuditFlags AuditFlags { get; set; }
Property Value
AuditFlagsString
Gets or sets the audit flags as a human readable string.
public string AuditFlagsString { get; }
Property Value
FlagsResourceManager
Gets or sets the resource manager used to resolve the flags to enum values.
[Browsable(false)]
public ResourceManager FlagsResourceManager { get; set; }
Property Value
IsInherited
Gets or sets whether this ACE is inherited from a parent object.
public BooleanOption IsInherited { get; set; }
Property Value
IsUnknownAccount
Gets whether the account is unknown.
public bool IsUnknownAccount { get; }
Property Value
Sid
Gets or sets the security identifier (SID) of the account to which this access control entry applies in SDDL format - for example "S-1-5-32-544".
public string Sid { get; set; }
Property Value
StringValue
Gets the access control entry as a human readable string.
public string StringValue { get; }
Property Value
Methods
CompareTo(WindowsGenericAccessControlEntry)
Compares two CENTREL.XIA.Configuration.Types.WindowsGenericAccessControlEntry objects to allow sorting alphabetically by account name.
public int CompareTo(WindowsGenericAccessControlEntry other)
Parameters
other
WindowsGenericAccessControlEntryThe CENTREL.XIA.Configuration.Types.WindowsGenericAccessControlEntry to compare to.
Returns
- int
The sort order of the two CENTREL.XIA.Configuration.Types.WindowsGenericAccessControlEntry objects.
Equals(WindowsGenericAccessControlEntry)
Determines whether the two common access control entry objects are equal.
public bool Equals(WindowsGenericAccessControlEntry other)
Parameters
other
WindowsGenericAccessControlEntryThe access control entry to compare to.
Returns
- bool
A System.Boolean value that indicates whether the two access control entry objects are equal.
ToString()
Returns this access control entry as a human readable string.
public override string ToString()
Returns
- string
The access control entry as a human readable string.