Table of Contents

Class UpdateAccount

Namespace
KASserver
Assembly
KASserver.Client.dll

Parameters for editing a subaccount (update_account). Only properties that are set (non-null) are sent; everything left null stays unchanged on the server. The subaccount is identified by its account_login, passed separately to UpdateAccountAsync(string, UpdateAccount, CancellationToken). At least one field must be set. Requires a superuser login.

public sealed class UpdateAccount
Inheritance
UpdateAccount
Inherited Members

Properties

AccessForbidden

KAS login access state (kas_access_forbidden): N/Y/forbidden. Optional.

public AccountAccessState? AccessForbidden { get; set; }

Property Value

AccountAccessState?

Comment

The account comment (account_comment). Optional.

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). Optional.

public bool? DnsSettings { get; set; }

Property Value

bool?

InstFpse

Install FrontPage server extensions (inst_fpse). Optional.

public bool? InstFpse { get; set; }

Property Value

bool?

InstHtaccess

Install .htaccess support (inst_htaccess). Optional.

public bool? InstHtaccess { get; set; }

Property Value

bool?

InstSoftware

Install the software set (inst_software). Optional.

public bool? InstSoftware { get; set; }

Property Value

bool?

KasPassword

New KAS password (account_kas_password). Optional.

public string? KasPassword { get; set; }

Property Value

string

LogAge

The log retention age in days (logage), 1–999. Optional.

public int? LogAge { get; set; }

Property Value

int?

Logging

The web server log mode (logging). Optional.

public AccountLogging? Logging { get; set; }

Property Value

AccountLogging?

Quota

The resource quotas to change; unset quotas stay unchanged. Optional.

public AccountQuota? Quota { get; set; }

Property Value

AccountQuota

ShowPassword

Show the password in the KAS interface (show_password). Optional.

public bool? ShowPassword { get; set; }

Property Value

bool?

Statistic

The web statistics mode (statistic). Optional.

public AccountStatistic? Statistic { get; set; }

Property Value

AccountStatistic?