User Set Admin
user_set_adminGrants or revokes administrator privileges for a specified user on an fnOS NAS, controlling account access rights.
Instructions
授予/撤销用户管理员权限(写操作)。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| on | Yes | ||
| host | No | NAS 主机地址(IP 或域名) | |
| port | No | NAS 端口,如 5667(HTTPS)/5666(HTTP)/443 | |
| user | Yes | 用户名 | |
| scheme | No | 传输协议 | |
| profile | No | 独立 session profile 名称,默认使用 default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |