---
title: Specifying an LDAP user-record location
description: After choosing a datastore, indicate where in the store PingFederate should write new user records or update existing ones.
component: pingfederate
version: 13.1
page_id: pingfederate:administrators_reference_guide:help_userprovisioningtasklet_configuserprovisioningldapdirsearchstate
canonical_url: https://docs.pingidentity.com/pingfederate/13.1/administrators_reference_guide/help_userprovisioningtasklet_configuserprovisioningldapdirsearchstate.html
llms_txt: https://docs.pingidentity.com/pingfederate/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: July 5, 2022
section_ids:
  about-this-task: About this task
  steps: Steps
---

# Specifying an LDAP user-record location

After choosing a datastore, indicate where in the store PingFederate should write new user records or update existing ones.

## About this task

![Screen capture of the Location tab.](_images/spu1564003512365.jpg)

|   |                                                                                                    |
| - | -------------------------------------------------------------------------------------------------- |
|   | The **Location** tab appears only when an LDAP datastore is chosen on the **User Repository** tab. |

## Steps

* Enter the base distinguished name (DN) in the **Base DN** field.

  A base DN is the DN of the tree structure in which the search begins. Leave this field blank if records are located at the LDAP root.
