Files
developer.sailpoint.com/docs/extensibility/transforms/operations/display-name.md
2024-11-01 12:32:46 -04:00

57 lines
1.8 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: display-name
title: Display Name
pagination_label: Display Name
sidebar_label: Display Name
sidebar_class_name: displayName
keywords: ['transforms', 'operations', 'display', 'name']
description: Use Preferred Name over Given Name to create an identitys Display Name.
slug: /extensibility/transforms/operations/display-name
tags: ['Transforms', 'Transform Operations']
---
## Overview
The transform forms an identitys `Display Name` value using the `Preferred Name` value when it exists over the `Given Name` (first name) value. The `Family Name` (last name) value is then appended to form the complete `Display Name`, e.g., ("Preferred Name" or "Given Name") + "Family Name"
## Transform Structure
The displayName generator transform is intended for using Preferred Name over Given Name to create an identitys Display Name.
```json
{
"name": "Display Name Transform",
"type": "displayName",
"attributes": {
"input": "input"
}
}
```
## Attributes
- **Required Attributes**
- **type** - This must always be set to `displayName`.
- **name** - This is a required attribute for all transforms. It represents the name of the transform as it will appear in the UI's dropdown menus.
- **attributes** - The attributes key must be included and not null for the transform to work properly.
## Examples
This transform takes the user's Preferred Name or Given Name, and appends the user's Family Name. For example:
If the user's Preferred Name is `John`, Given Name is `Jonathan`, and Family Name is `Doe`, the Display Name would be `John Doe`.
If the user's Preferred Name is not set, Given Name is `Jonathan`, and Family Name is `Doe`, the Display Name would be `Jonathan Doe`.
**Transform Request Body**:
```json
{
"name": "Display Name Transform",
"type": "displayName",
"attributes": {
"input": "input"
}
}
```