> ## 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.

# PFAccountManagementServerGetPlayerProfileAsync

> Server API to retrieve any PlayFab player's profile by PlayFab ID, including display name, avatar URL, statistics, and linked account information.

Retrieves the player's profile

## Syntax

```cpp theme={null}
HRESULT PFAccountManagementServerGetPlayerProfileAsync(  
    PFEntityHandle titleEntityHandle,  
    const PFAccountManagementGetPlayerProfileRequest* request,  
    XAsyncBlock* async  
)  
```

### Parameters

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle for a title Entity obtained using PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFAccountManagementGetPlayerProfileRequest\*](/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayerprofilerequest)

Populated request object.

**`async`**   XAsyncBlock\*<br />*Inout*

XAsyncBlock for the async operation.

### Return value

Type: HRESULT

Result code for this API operation.

## Remarks

This API is available on Win32, Linux, and macOS. This API allows for access to details regarding a user in the PlayFab service, usually for purposes of customer support. Note that data returned may be Personally Identifying Information (PII), such as email address, and so care should be taken in how this data is stored and managed. Since this call will always return the relevant information for users who have accessed the title, the recommendation is to not store this data locally. When the asynchronous task is complete, call [PFAccountManagementServerGetPlayerProfileGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresultsize) and [PFAccountManagementServerGetPlayerProfileGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresult) to get the result.

## Requirements

**Header:** PFAccountManagement.h

## See also

[PFAccountManagement members](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementServerGetPlayerProfileGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresult.md)
- [Services C API overview - PFAccountManagement.h](/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members.md)
- [PFAccountManagementServerGetPlayerProfileGetResultSize](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayerprofilegetresultsize.md)
- [PFAccountManagementClientGetPlayerProfileAsync](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofileasync.md)
- [PFAccountManagementClientGetPlayerProfileGetResult](/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayerprofilegetresult.md)
