Table of Contents

Class AccountSettings

Namespace
KASserver
Assembly
KASserver.Client.dll

The account settings as returned by get_accountsettings (the inner settings map). Typed convenience properties cover the most common fields; Raw exposes the complete map for everything else. Field shape verified live against the KAS API.

public sealed class AccountSettings
Inheritance
AccountSettings
Inherited Members

Properties

AccountLogin

The account login (KAS field account_login).

public string? AccountLogin { get; }

Property Value

string

Comment

The account comment (KAS field account_comment).

public string? Comment { get; }

Property Value

string

ContactMail

The contact mail address (KAS field account_contact_mail).

public string? ContactMail { get; }

Property Value

string

DnsSettings

Whether DNS settings are allowed (KAS field dns_settings, Y/N).

public bool DnsSettings { get; }

Property Value

bool

InstHtaccess

Whether .htaccess support is enabled (KAS field inst_htaccess, Y/N).

public bool InstHtaccess { get; }

Property Value

bool

InstSoftware

Whether software installation is enabled (KAS field inst_software, Y/N).

public bool InstSoftware { get; }

Property Value

bool

IsSuperuser

Whether this is the superuser/main account (KAS field is_superuser, Y/N).

public bool IsSuperuser { get; }

Property Value

bool

LogAge

The log retention age in days (KAS field logage).

public string? LogAge { get; }

Property Value

string

Logging

The web server log mode (KAS field logging): voll/kurz/ohneip/keine.

public string? Logging { get; }

Property Value

string

Raw

The complete raw field map as returned by the KAS API.

public required IReadOnlyDictionary<string, object?> Raw { get; init; }

Property Value

IReadOnlyDictionary<string, object>

Server

The server the account lives on (KAS field server).

public string? Server { get; }

Property Value

string

SshAccess

Whether SSH access is enabled (KAS field ssh_access, Y/N).

public bool SshAccess { get; }

Property Value

bool

Statistic

The web statistics mode (KAS field statistic): 0/de/ne.

public string? Statistic { get; }

Property Value

string