gp_current_users
List currently active GlobalProtect sessions on a gateway firewall, optionally filtered by user, device, or device group for targeted visibility.
Instructions
[READ-ONLY] GlobalProtect users currently connected to a gateway firewall (show global-protect-gateway current-user), optionally for one user.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | No | User name, with or without domain (e.g. 'jdoe' or 'corp\\jdoe') | |
| device | No | GlobalProtect gateway firewall. Inferred from the user's traffic when omitted. | |
| firewall | No | Panorama entry from firewalls.json. Optional when a single Panorama is configured. | |
| device_group | No | Device group name (includes what it inherits from shared and parent groups), or 'shared'. When omitted, every location is searched. |