Table of Contents

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

Enum

AccessFlagsString

Gets the access flags as a human readable string.

public string AccessFlagsString { get; set; }

Property Value

string

AccessMask

Gets or sets the access mask for this common ace.

public int AccessMask { get; set; }

Property Value

int

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

Type

AccountName

Gets or sets the name of the account to which this access control entry applies.

public string AccountName { get; set; }

Property Value

string

AceType

Gets or sets the type of entry that this generic access control entry represents.

public WindowsGenericAceType AceType { get; set; }

Property Value

WindowsGenericAceType

AceTypeString

Gets the type of entry that this access control entry represents in a human readable format.

public string AceTypeString { get; set; }

Property Value

string

AuditFlags

Gets or sets the audit flags assigned to this access control entry.

public WindowsGenericAuditFlags AuditFlags { get; set; }

Property Value

WindowsGenericAuditFlags

AuditFlagsString

Gets or sets the audit flags as a human readable string.

public string AuditFlagsString { get; }

Property Value

string

FlagsResourceManager

Gets or sets the resource manager used to resolve the flags to enum values.

[Browsable(false)]
public ResourceManager FlagsResourceManager { get; set; }

Property Value

ResourceManager

IsInherited

Gets or sets whether this ACE is inherited from a parent object.

public BooleanOption IsInherited { get; set; }

Property Value

BooleanOption

IsUnknownAccount

Gets whether the account is unknown.

public bool IsUnknownAccount { get; }

Property Value

bool

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

string

StringValue

Gets the access control entry as a human readable string.

public string StringValue { get; }

Property Value

string

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 WindowsGenericAccessControlEntry

The 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 WindowsGenericAccessControlEntry

The 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.