list_local_users
Retrieves local FortiGate user accounts, including status, authentication type, two-factor settings, and email details, without exposing passwords.
Instructions
List local user accounts defined on the FortiGate (status, type, two-factor, email).
Passwords are never returned by FortiOS.
Parameters:
device_id: Identifier of the FortiGate device
vdom: Virtual Domain name (optional)
Returns:
One line per user
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"device_id": "<device_id>"
},
"name": "list_local_users"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| vdom | No | Virtual Domain | |
| device_id | Yes | FortiGate device identifier |