/user/active
active
Currently logged-in management sessions. All properties are read-only. Terminate a session with /user/active/remove. See User for the full guide.
user/active
Type: Directory
当前已登录的管理会话。所有属性均为只读。使用 /user/active/remove 终止会话。完整指南请参阅 用户。
| 标志 | 名称 | 描述 |
|---|---|---|
R | radius | 通过 RADIUS 认证的用户(请参阅 /user/aaa)。 |
M | by-romon | 会话通过 RoMON 传入;by-romon 保存 RoMON 代理的 MAC 地址。 |
| 只读参数 | 类型 | 描述 |
|---|---|---|
when | date | 会话登录的日期和时间。 |
name | string | 来自 /user 的已登录用户名。 |
address | alt { ip: ipAddr , ip6: ip6Addr , address: macAddr } | 会话的源地址:IP、IPv6 或 MAC 地址。 |
by-romon | macAddr | 会话所经过的 RoMON 代理的 MAC 地址;仅对 RoMON 会话设置(标志 M)。 |
via | enum (unknown | winbox | console | telnet | ftp | web | ssh | mac-telnet | bandwidth-test | api | romon | rest-api) { unknown:0, winbox:1, console:2, telnet:3, ftp:4, web:5, ssh:6, mac-telnet:7, bandwidth-test:8, api:9, romon:10, rest-api:13 } | 会话连接所用的管理服务:unknown、winbox、console、telnet、ftp、web、ssh、mac-telnet、bandwidth-test、api、romon 或 rest-api。 |
group | enum | 已登录用户所属的组,该组授予会话权限。 |