---
title: "About the <code class=\"codeph\">resourceIDMapping</code> element"
description: The resourceIDMapping element has the following XML attributes:
component: pingdirectory
version: 10.1
page_id: pingdirectory:pingdirectory_server_administration_guide:pd_ds_resourceidmapping_element
canonical_url: https://docs.pingidentity.com/pingdirectory/10.1/pingdirectory_server_administration_guide/pd_ds_resourceidmapping_element.html
revdate: July 5, 2024
---

# About the `resourceIDMapping` element

The `resourceIDMapping` element has the following XML attributes:

* `ldapAttribute`: a required element specifying the name of the LDAP attribute to which the SCIM 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 the PingDirectory server, meaning that a value is automatically provided by the server (as would be the case if the mapped LDAP attribute is entryUUID).

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>
```
