Table of Contents

Class SubAccount

Namespace
KASserver
Assembly
KASserver.Client.dll

A subaccount as returned by get_accounts. 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 SubAccount
Inheritance
SubAccount
Inherited Members

Remarks

Note: in the get_accounts response the quota fields use names that differ from the add_account/update_account request parameters — e.g. max_databases (vs. request max_database) and max_mail_list (vs. request max_mailinglist). Read those via Raw.

Properties

AccessForbidden

Whether KAS login is forbidden (KAS field kas_access_forbidden): N/Y/forbidden.

public string? AccessForbidden { get; }

Property Value

string

AccountLogin

The subaccount login (KAS field account_login). Used by update/delete actions.

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

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>