---
title: "LDAP search"
method: GET
path: "/ldap/search"
tags: ["LDAP"]
---

# LDAP search

`GET /ldap/search`

The LDAP Search endpoint searches LDAP for users & groups matching a partial search string.

## Query parameters

- `q` string, required

## Response `200`

An array of Users

- LdapSearchUser[]
  - `dn` string — LDAP distinguished name.
  - `distinguishedName` string — LDAP distinguished name.
  - `displayName` string — Display name of the User.
  - `memberOf` string[] — List of LDAP distinguished names for groups this User is a member of.
  - `department` string — The User's department.
  - `division` string — The User's division.
  - `name` string — Formal name of the User.
  - `sAMAccountName` string — Username of the User.
  - `objectCategory` string — LDAP distinguished name of the category of this user.
  - `mail` string — Email address
  - `category` string — Type of account, e.g. user, group

## Other responses

- `500` — Server error

---

[API](https://skmtc.dev/expediagroup/apis/cyclotron-api.md) · [All operations](https://skmtc.dev/expediagroup/apis/cyclotron-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/expediagroup/cyclotron-api/revisions/18e751e6bc49/schema)
