---
title: Mapping attributes
description: You can map PingOne user attributes to SAML or OIDC attributes to and from external applications, resources, identity providers, and provisioning connections.
component: pingone
page_id: pingone:directory:p1_editsamlattributemapping
canonical_url: https://docs.pingidentity.com/pingone/directory/p1_editsamlattributemapping.html
revdate: May 24, 2024
section_ids:
  using-attribute-mapping: Using attribute mapping
---

# Mapping attributes

You can map PingOne user attributes to SAML or OIDC attributes to and from external applications, resources, identity providers, and provisioning connections.

For example, you could map `Email Address` in PingOne to `NameID` in an application.

|   |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| - | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|   | When mapping multivalued attributes to and from PingOne, consider the following conditions.- If you map a multivalued PingOne attribute to an attribute for an external application, the claim in the token or the attribute in the assertion will be multivalued.

- If you map an external attribute to a PingOne attribute, PingOne will evaluate the mapping as follows:

  * If you map an external multivalued attribute to a multivalued PingOne attribute, PingOne will add all values to the PingOne attribute.

  * If you map an external multivalued attribute to a single-valued PingOne attribute, PingOne uses only the first value of the external multivalued attribute.

  * If you map an external single-valued attribute to a multivalued PingOne attribute, PingOne will take the single value and add it to the multivalued PingOne attribute to create a multivalued attribute containing one value.For more information about the expression builder, see [Using the expression builder](../pingone_expression_language/p1_use_expression_builder.html). |

## Using attribute mapping

You can map PingOne attributes to attributes in your application, resource, identity provider, or provisioning connection.

* Locate the object in which you want to map attributes.

  The specifics of attribute mapping vary based on the object that you are editing. For more information, see:

  * [Editing an application](../applications/p1_editing_applications.html)

  * [Editing a resource](../applications/p1_editresource.html)

  * [Editing an identity provider](../integrations/p1_editidentityprovider.html)

  * [Editing an inbound rule](../integrations/p1_edit_provisioning_rule.html)
