> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# PFAccountManagementSetDisplayNameRequest

> PFAccountManagementSetDisplayNameRequest data model. Given an entity profile, will update its display name to the one passed in if the profile's version is equal to the specified value.

PFAccountManagementSetDisplayNameRequest data model. Given an entity profile, will update its display name to the one passed in if the profile's version is equal to the specified value.

## Syntax

```cpp theme={null}
typedef struct PFAccountManagementSetDisplayNameRequest {  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    const char* displayName;  
    PFEntityKey const* entity;  
    int32_t const* expectedVersion;  
} PFAccountManagementSetDisplayNameRequest;  
```

### Members

**`customTags`**   [PFStringDictionaryEntry](/services/playfab/api-references/c/pftypes/structs/pfstringdictionaryentry) const\*<br />*may be nullptr*

(Optional) The optional custom tags associated with the request (e.g. build number, external trace identifiers, etc.).

**`customTagsCount`**   uint32\_t

Count of customTags

**`displayName`**   const char\*<br />*is null-terminated*

(Optional) The new value to be set on Entity Profile's display name.

**`entity`**   [PFEntityKey](/services/playfab/api-references/c/pftypes/structs/pfentitykey-c) const\*<br />*may be nullptr*

(Optional) The optional entity to perform this action on. Defaults to the currently logged in entity.

**`expectedVersion`**   int32\_t const\*<br />*may be nullptr*

(Optional) The expected version of a profile to perform this update on.

## Requirements

**Header:** PFAccountManagementTypes.h

## See also

[PFAccountManagementTypes members](/services/playfab/api-references/c/pfaccountmanagementtypes/pfaccountmanagementtypes_members)
