---
updatedAt: 2026-07-10T17:11:53.000Z
---

# List host system users

Get a list of all system users on this host.

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "description": "This API provides access to control BeyondTrust software for Endpoint Privilege Management Linux.",
    "title": "Endpoint Privilege Management Linux API",
    "version": "25.1.6"
  },
  "security": [
    {
      "nomine-authorizer": []
    }
  ],
  "paths": {
    "/api/pbul/{hostid}/users": {
      "get": {
        "description": "Get a list of all system users on this host.",
        "tags": [
          "PMUL",
          "saas"
        ],
        "summary": "List host system users",
        "operationId": "systemListUsers",
        "parameters": [
          {
            "x-go-name": "HostID",
            "name": "hostid",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "uint64"
            }
          },
          {
            "x-go-name": "Name",
            "description": "The name of the entity to search for. Exact match only",
            "name": "name",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "$ref": "#/components/responses/systemUsers"
          },
          "400": {
            "$ref": "#/components/responses/TextError"
          }
        },
        "x-amazon-apigateway-integration": {
          "type": "aws_proxy",
          "httpMethod": "POST",
          "uri": "${biulInvocationArn}"
        }
      }
    }
  },
  "components": {
    "responses": {
      "TextError": {
        "description": "TextError An unknown error occured, details provided in body"
      },
      "systemUsers": {
        "description": "SystemUsersResponse is an API response model",
        "content": {
          "application/json": {
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/SystemUser"
              },
              "maxItems": 500
            }
          }
        }
      }
    },
    "schemas": {
      "SystemUser": {
        "description": "SystemUser represents details about a system user for a host",
        "type": "object",
        "properties": {
          "gecos": {
            "type": "string",
            "x-go-name": "Gecos"
          },
          "gid": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "GID"
          },
          "home": {
            "type": "string",
            "x-go-name": "HomeDirectory"
          },
          "name": {
            "type": "string",
            "x-go-name": "Name"
          },
          "shell": {
            "type": "string",
            "x-go-name": "Shell"
          },
          "uid": {
            "type": "integer",
            "format": "int64",
            "x-go-name": "UID"
          }
        },
        "x-go-package": "pbsmc/remote/pbrest"
      }
    },
    "securitySchemes": {
      "nomine-authorizer": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "x-amazon-apigateway-authtype": "custom",
        "x-amazon-apigateway-authorizer": {
          "type": "request",
          "authorizerUri": "${authorizerInvokeArn}",
          "authorizerResultTtlInSeconds": 300,
          "identitySource": "method.request.header.Authorization"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://{example.com}"
    }
  ],
  "x-readme": {}
}
```