Table of Contents

Class TerminalServerPermission

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

Represents an individual terminal server security permission.

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

Constructors

TerminalServerPermission()

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

public TerminalServerPermission()

Properties

AccountName

Gets or sets the name of the account to which this permission is assigned - for example "CORP\administrator".

public string AccountName { get; set; }

Property Value

string

AceType

Gets or sets the type of ACE that this permission represents.

public WindowsGenericAceType AceType { get; set; }

Property Value

WindowsGenericAceType

AceTypeString

Gets the type of entry that this generic ACE represents in a human readable format.

public string AceTypeString { get; set; }

Property Value

string

Rights

Gets or sets the rights assigned to this account.

public TerminalServiceConnectionRights Rights { get; set; }

Property Value

TerminalServiceConnectionRights

RightsString

Gets or sets the terminal server rights as a human readable string, one per line.

public SerializableStringCollection RightsString { get; }

Property Value

SerializableStringCollection

Value

Gets the terminal server permission as a human readable string - for example "CORP\Administrator [Allow] [RemoteControl, Connect]".

public string Value { get; }

Property Value

string

Methods

CompareTo(TerminalServerPermission)

Compares two terminal server permissions to allow sorting alphabetically by value.

public int CompareTo(TerminalServerPermission other)

Parameters

other TerminalServerPermission

Returns

int

ToString()

Returns the permission as a human readable string - for example "CORP\Administrator [Allow] [RemoteControl, Connect]".

public override string ToString()

Returns

string

The permission as a human readable string.