type alias OnlineUser

One logged-in session in <OnlineUser>.

Properties

optional
userId: number

The user's index.

sessionId: number

The session to act on; the only field the parser requires.

optional
userName: string

Login name, up to 31 bytes.

optional
password: string

Password; parsed only, never written.

optional
userLevel: number

0 or 1.

optional
ipAddress: string

The session's client IP address.

optional
macAddress: string

Always empty in the reply.

optional
enableOutoffLine: number

1 when the caller may force this session off; in cmd 121, 1 selects the session.

optional
isOnline: number

Always 1 in the reply.

Usage

import { type OnlineUser } from "protocol/params/mod.ts";