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
Comment
The account comment (account_comment). Optional; KAS defaults to the hostname.
public string? Comment { get; set; }
Property Value
ContactMail
The contact mail address (account_contact_mail). Optional.
public string? ContactMail { get; set; }
Property Value
DnsSettings
Allow DNS settings (dns_settings). Default: false (N).
public bool DnsSettings { get; set; }
Property Value
FtpPassword
The FTP password of the new subaccount (account_ftp_password). Required.
public required string FtpPassword { get; set; }
Property Value
HostnameKind
The kind of hostname to create (hostname_art). Required.
public required AccountHostnameKind HostnameKind { get; set; }
Property Value
HostnamePart1
The first hostname part (hostname_part1), e.g. the domain/subdomain label. Required.
public required string HostnamePart1 { get; set; }
Property Value
HostnamePart2
The second hostname part (hostname_part2), e.g. the TLD or parent domain. Required.
public required string HostnamePart2 { get; set; }
Property Value
HostnamePath
The hostname path (hostname_path). Optional; KAS defaults to the hostname.
public string? HostnamePath { get; set; }
Property Value
InstHtaccess
Install .htaccess support (inst_htaccess). Default: true (Y).
public bool InstHtaccess { get; set; }
Property Value
InstSoftware
Install the software set (inst_software). Default: true (Y).
public bool InstSoftware { get; set; }
Property Value
KasPassword
The KAS password of the new subaccount (account_kas_password). Required.
public required string KasPassword { get; set; }
Property Value
LogAge
The log retention age in days (logage), 1–999. Default: 190.
public int LogAge { get; set; }
Property Value
Logging
The web server log mode (logging). Default: None (keine).
public AccountLogging Logging { get; set; }
Property Value
Quota
The resource quotas. Unset quotas use the KAS default. Optional.
public AccountQuota? Quota { get; set; }
Property Value
ShowPassword
Show the password in the KAS interface (show_password). Default: false (N).
public bool ShowPassword { get; set; }
Property Value
Statistic
The web statistics mode (statistic). Default: None (0).
public AccountStatistic Statistic { get; set; }