User Management

Retrieve all LDAP users

Returns a list of all users from the configured LDAP directory (OpenLDAP or Active Directory). Supports optional typeahead mode via the q parameter.

get/api/ldap/users

Query parameters

qstring
Example:john

Typeahead filter (minimum 2 characters). When provided, returns a small filtered list with username and display_name instead of the full directory.

max_resultsinteger
Example:50

Maximum number of results to return in typeahead mode. Clamped to 1-200.

Response

Successfully retrieved all LDAP users

successboolean
messageobject

Dictionary of username to LDAP DN mappings

Example response

{
  "success": true,
  "message": {
    "john.doe": "cn=john.doe,ou=people,dc=soca,dc=local",
    "jane.smith": "cn=jane.smith,ou=people,dc=soca,dc=local"
  }
}

Changes