Table of Contents

Class WindowsEventLogAccessRule

Namespace
CENTREL.XIA.Configuration.Types
Assembly
CENTREL.XIA.Configuration.Types.dll

Represents an individual event log access rule.

public class WindowsEventLogAccessRule : GlobalSerializableClassicBase, IComparable<WindowsEventLogAccessRule>
Inheritance
WindowsEventLogAccessRule
Implements

Constructors

WindowsEventLogAccessRule()

Initializes a new instance of the CENTREL.XIA.Configuration.Types.WindowsEventLogAccessRule class.

public WindowsEventLogAccessRule()

Properties

AccessRuleType

Gets or sets the type of access rule.

public WindowsEventLogAccessRuleType AccessRuleType { get; set; }

Property Value

WindowsEventLogAccessRuleType

AccessRuleTypeString

Gets the type of access rule.

public string AccessRuleTypeString { get; set; }

Property Value

string

Account

Gets or sets the account assigned to the rule.

public SerializableAccountReference Account { get; set; }

Property Value

SerializableAccountReference

CollectionDisplayField

Gets the collection display field.

[Browsable(false)]
public string CollectionDisplayField { get; }

Property Value

string

CollectionIndex

Gets the unique collection index.

[Browsable(false)]
public string CollectionIndex { get; }

Property Value

string

Rights

Gets or sets the access rights for the rule.

public WindowsEventLogRights Rights { get; set; }

Property Value

WindowsEventLogRights

RightsStrings

Gets the access rights for the rule.

public SerializableStringCollection RightsStrings { get; }

Property Value

SerializableStringCollection

Methods

CompareTo(WindowsEventLogAccessRule)

Compares two CENTREL.XIA.Configuration.Types.WindowsEventLogAccessRule objects to allow sorting alphabetically by account name.

public int CompareTo(WindowsEventLogAccessRule other)

Parameters

other WindowsEventLogAccessRule

The CENTREL.XIA.Configuration.Types.WindowsEventLogAccessRule to compare to.

Returns

int

Remarks

The sort order of the two CENTREL.XIA.Configuration.Types.WindowsEventLogAccessRule objects.

ToString()

Returns this event log access rule as a human readable string in the format "AccountName [Type]".

public override string ToString()

Returns

string

The event log access rule as a human readable string.