Table of Contents

Class AddAccount

Namespace
KASserver
Assembly
KASserver.Client.dll

Parameters for creating a subaccount (add_account). Requires a superuser login.

public sealed class AddAccount
Inheritance
AddAccount
Inherited Members

Properties

AccessForbidden

Forbid KAS login for the subaccount (kas_access_forbidden). Default: false (N).

public bool AccessForbidden { get; set; }

Property Value

bool

Comment

The account comment (account_comment). Optional; KAS defaults to the hostname.

public string? Comment { get; set; }

Property Value

string

ContactMail

The contact mail address (account_contact_mail). Optional.

public string? ContactMail { get; set; }

Property Value

string

DnsSettings

Allow DNS settings (dns_settings). Default: false (N).

public bool DnsSettings { get; set; }

Property Value

bool

FtpPassword

The FTP password of the new subaccount (account_ftp_password). Required.

public required string FtpPassword { get; set; }

Property Value

string

HostnameKind

The kind of hostname to create (hostname_art). Required.

public required AccountHostnameKind HostnameKind { get; set; }

Property Value

AccountHostnameKind

HostnamePart1

The first hostname part (hostname_part1), e.g. the domain/subdomain label. Required.

public required string HostnamePart1 { get; set; }

Property Value

string

HostnamePart2

The second hostname part (hostname_part2), e.g. the TLD or parent domain. Required.

public required string HostnamePart2 { get; set; }

Property Value

string

HostnamePath

The hostname path (hostname_path). Optional; KAS defaults to the hostname.

public string? HostnamePath { get; set; }

Property Value

string

InstHtaccess

Install .htaccess support (inst_htaccess). Default: true (Y).

public bool InstHtaccess { get; set; }

Property Value

bool

InstSoftware

Install the software set (inst_software). Default: true (Y).

public bool InstSoftware { get; set; }

Property Value

bool

KasPassword

The KAS password of the new subaccount (account_kas_password). Required.

public required string KasPassword { get; set; }

Property Value

string

LogAge

The log retention age in days (logage), 1–999. Default: 190.

public int LogAge { get; set; }

Property Value

int

Logging

The web server log mode (logging). Default: None (keine).

public AccountLogging Logging { get; set; }

Property Value

AccountLogging

Quota

The resource quotas. Unset quotas use the KAS default. Optional.

public AccountQuota? Quota { get; set; }

Property Value

AccountQuota

ShowPassword

Show the password in the KAS interface (show_password). Default: false (N).

public bool ShowPassword { get; set; }

Property Value

bool

Statistic

The web statistics mode (statistic). Default: None (0).

public AccountStatistic Statistic { get; set; }

Property Value

AccountStatistic