Page created: 4 Feb 2020
|
Page updated: 22 Jul 2020
The JSON Attribute Mapping type has been added, including sub-objects (JSON Attribute Mapping
Field) that allow you to map individual fields. If a source attribute does not have a
value, the corresponding field is omitted.
Note: It
is recommended that you use JSON attribute mappings rather than constructed
attribute mappings.
The following are examples of using JSON attribute mappings:
dsconfig create-attribute-mapping \
--map-name PingDirectory_to_PingOne_User_Map \
--mapping-name name \
--type json
dsconfig create-json-attribute-mapping-field \
--map-name PingDirectory_to_PingOne_User_Map \
--mapping-name name \
--field-name formatted \
--set from-attribute:cn \
--json-type string
dsconfig create-json-attribute-mapping-field \
--map-name PingDirectory_to_PingOne_User_Map \
--mapping-name name \
--field-name given \
--set from-attribute:givenName \
--json-type string
dsconfig create-json-attribute-mapping-field \
--map-name PingDirectory_to_PingOne_User_Map \
--mapping-name name \
--field-name family \