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

# PFAccountManagementServerLinkNintendoServiceAccountAsync

> Vincula a conta Nintendo associada ao token à conta PlayFab do usuário

Vincula a conta Nintendo associada ao token à conta PlayFab do usuário

## Sintaxe

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

### Parâmetros

**`titleEntityHandle`**   PFEntityHandle

PFEntityHandle para uma Entity de título obtida usando PFAuthenticationGetEntityWithSecretKeyAsync.

**`request`**   [PFAccountManagementServerLinkNintendoServiceAccountRequest\*](/pt-BR/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverlinknintendoserviceaccountrequest)

Objeto de solicitação preenchido.

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

XAsyncBlock para a operação assíncrona.

### Valor de retorno

Tipo: HRESULT

Código de resultado desta operação de API.

## Comentários

Esta API está disponível no Win32, Linux e macOS. Consulte também ServerLinkNintendoServiceAccountSubjectAsync, ServerUnlinkNintendoServiceAccountAsync. Chame XAsyncGetStatus para obter o status da operação. Se a chamada de serviço não for bem-sucedida, o resultado assíncrono será E\_PF\_INVALID\_IDENTITY\_PROVIDER\_ID, E\_PF\_LINKED\_IDENTIFIER\_ALREADY\_CLAIMED, E\_PF\_NINTENDO\_SWITCH\_NOT\_ENABLED\_FOR\_TITLE ou qualquer um dos erros globais do Serviço PlayFab. Consulte a página de documentação "Handling PlayFab Errors" para obter mais detalhes sobre o tratamento de erros.

## Requisitos

**Cabeçalho:** PFAccountManagement.h

## Confira também

[Membros de PFAccountManagement](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementServerLinkNintendoServiceAccountSubjectAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinknintendoserviceaccountsubjectasync.md)
- [PFAccountManagementServerUnlinkNintendoServiceAccountAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverunlinknintendoserviceaccountasync.md)
- [PFAccountManagementServerLinkNintendoServiceAccountRequest](/pt-BR/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementserverlinknintendoserviceaccountrequest.md)
- [Link Nintendo Service Account](/api-reference/account-management/link-nintendo-service-account.md)
- [PFAccountManagementServerLinkNintendoSwitchDeviceIdAsync](/pt-BR/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementserverlinknintendoswitchdeviceidasync.md)
