Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

For users, you can add a transformation record to change the user user’s email address . This or to match it to another destination user by providing an ID. These transformations will allow you to create, merge, and remap users. Remember that The source and destination users are matched either by their names or by their IDs.

Learn more about transforming users.

Code Block
languagejson
"transformation": {
    "name": "Karlie Davis",
    "email": "karlie@demo.com"
}

Users: Map to a destination user by ID

You can also add a transformation record to map a source user to a chosen destination user by providing the destination user’s ID.

Learn more about transforming users.

Code Block
languagejson
"transformation": {
    "id": "5da444878f33800c416f30ed",
}

Ways of customizing the configuration mapping

...

The source record must contain the ID of the server configuration element. Similarly to the example above, you can add more details to the source record. However, for a successful transformation, the only required component for the source record is the source element’s ID. Then, you need to have a transformation with the new ID or name, as shown in the example above. For projects, you can also change their key this way, and for users their email addresses and keys.

Users

Users are mapped by In the source record, we always refer to source users by their IDs. For Server/Data Center users, the ID is their name. So, in the source recordwhen building your mapping file with a user transformation, you need to provide the source user’s ID, and its value must be the user’s name:

Code Block
languagejson
{
    "users": [
        {
            "source": {
                "id": "Karlie Davis"
            },
            "transformation": {
                "email": "karlie@test.com"
            }
        }
    ]
}

This transformation will change the user’s email address. You can also build a transformation that will map a source user to a destination user by ID. You just need to provide the destination user’s ID in the transformation record :

Code Block
languagejson
{
    "users": [
        {
            "source": {
                "id": "Karlie Davis"
            },
            "transformation": {
                "ID": "5da444878f33800c416f30ed"
            }
        }
    ]
}

You can learn more about what you can do with users in the User Transformations document.

...