---
title: "&lt;resourceIDMapping&gt; element"
description: A resourceIDMapping element has the following XML attributes:
component: pingdirectory
version: 10.1
page_id: pingdirectory:pingdatasync_server_administration_guide:pd_sync_resourceidmapping_element
canonical_url: https://docs.pingidentity.com/pingdirectory/10.1/pingdatasync_server_administration_guide/pd_sync_resourceidmapping_element.html
llms_txt: https://docs.pingidentity.com/pingdirectory/llms.txt
docs_for_agents: https://developer.pingidentity.com/build-with-ai/docs-for-agents.md
revdate: September 13, 2023
---

# \<resourceIDMapping> element

A `resourceIDMapping` element has the following XML attributes:

* `ldapAttribute`: a required element specifying the name of the Lightweight Directory Access Protocol (LDAP) *(tooltip: \<div class="paragraph">
  \<p>An open, cross platform protocol used for interacting with directory services.\</p>
  \</div>)* attribute to which the System for Cross-domain Identity Management (SCIM) *(tooltip: \<div class="paragraph">
  \<p>An application-level, HTTP-based protocol for provisioning and managing user identity information. SCIM supplies a common schema for representing users and groups and provides a REST API.\</p>
  \</div>)* resource ID maps.

* `createdBy`: a required element specifying the source of the resource ID value when a new resource is created by the SCIM consumer using a POST operation. Allowable values for this element include `<scim-consumer>`, meaning that a value must be present in the initial resource content provided by the SCIM consumer, or directory, (as would be the case if the mapped LDAP attribute is `entryUUID`).

If the LDAP attribute value is not listed as a destination correlation attribute, this setting is not used by PingDataSync.

The following example illustrates an `LDAPSearch` element that contains a `resourceIDMapping` element:

```
<LDAPSearch id="userSearchParams">
  <baseDN>ou=people,dc=example,dc=com</baseDN>
  <filter>(objectClass=inetOrgPerson)</filter>
  <resourceIDMapping ldapAttribute="entryUUID" createdBy="directory"/>
</LDAPSearch>
```
