# Searching the User Directory

The **User Directory**, as the name indicates, serves as a directory of user accounts and allows Admins to search for user accounts. The user search will either be against one or more LDAP servers, or against the local **Solar Archive** user database.

\
1\. Navigate to **Basic Configuration** > **User Directory**.

2\.  Select the required realm in which you want to search the user account.

3\.  Enter / Select the required values in the fields. Refer to the table below for field names and descriptions:

4\.  Click the **Search** button.

| Field                          | Description                                                                                                                                                                                                                                                                                                                                                                                                   |
| ------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **LDAP / Solar Archive Realm** | Specifies whether to query the LDAP directory or the Local Solar Archive User database. Typically, it would only need to search the LDAP service.                                                                                                                                                                                                                                                             |
| **Search For**                 | <p>Username being searched. You can use the <strong>\*</strong> wildcard where needed, typically at the end of the search name. The system will try to find matches based on 3 LDAP fields:</p><ul><li>Primary Email Address (typically the ‘mail’ field)</li><li>Secondary Email Address (typically the ‘aliasAddresses’ field)</li><li>Display Name (typically the ‘displayName’ field)</li></ul>           |
| **Allowed Link To**            | <p>Delegated link of the user account. You can use the <strong>\*</strong> wildcard where needed, typically at the end of the search name. The system will try to find matches based on 3 LDAP fields:<br>- If you leave the <strong>Search For</strong> field blank, then this field will not be used.<br>- Enter a linked email address or just \* in this field, to list accounts with matching links.</p> |
| **Additional Address**         | Additional email address, other than the primary address, of the user account. Any LDAP user account can be extended in **Solar Archive** with extra email addresses. You can use this field instead of the **Search For** to locate any user accounts that have additional addresses.                                                                                                                        |
| **Search Filter**              | Search filter to be applied. The available options are **Only user account types, Only group account types,** and **Active User Accounts Only**.                                                                                                                                                                                                                                                              |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.solar-archive.com/docs/managing-users/searching-the-user-directory.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
