/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 终止会话。完整指南请参阅 用户。

标志名称描述
Rradius通过 RADIUS 认证的用户(请参阅 /user/aaa)。
Mby-romon会话通过 RoMON 传入;by-romon 保存 RoMON 代理的 MAC 地址。
只读参数类型描述
whendate会话登录的日期和时间。
namestring来自 /user 的已登录用户名。
addressalt { ip: ipAddr , ip6: ip6Addr , address: macAddr }会话的源地址:IP、IPv6 或 MAC 地址。
by-romonmacAddr会话所经过的 RoMON 代理的 MAC 地址;仅对 RoMON 会话设置(标志 M)。
viaenum (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。
groupenum已登录用户所属的组,该组授予会话权限。