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

# XblProfileGetUserProfileAsync

> XblProfileGetUserProfileAsync

# XblProfileGetUserProfileAsync

Obtém o perfil de um usuário específico do XBOX.

## Sintaxe

```cpp theme={null}
HRESULT XblProfileGetUserProfileAsync(  
         XblContextHandle xboxLiveContext,  
         uint64_t xboxUserId,  
         XAsyncBlock* async  
)  
```

### Parâmetros

*xboxLiveContext*   \_In\_\
Tipo: [XblContextHandle](/pt-BR/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

Um identificador de contexto do XBOX Live criado com XblContextCreateHandle.

*xboxUserId*   \_In\_\
Tipo: uint64\_t

A ID de usuário do XBOX do usuário cujo perfil será obtido.

*async*   \_In\_\
Tipo: XAsyncBlock\*

AsyncBlock alocado pelo chamador.

### Valor retornado

Tipo: HRESULT

Código de retorno HRESULT para esta operação de API.

## Comentários

Para obter o resultado, chame [XblProfileGetUserProfileResult](/pt-BR/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult) dentro do retorno de chamada do AsyncBlock ou após a conclusão do AsyncBlock.

## Chamada REST

Chama V2 GET /users/batch/profile/settings

## Requisitos

**Cabeçalho:** profile\_c.h

**Biblioteca:** Microsoft.Xbox.Services.14x.GDK.C.lib

## Confira também

[profile\_c](/pt-BR/reference/live/xsapi-c/profile_c/profile_c_members)


## Related topics

- [XblProfileGetUserProfileAsync](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileasync.md)
- [XblProfileGetUserProfileResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
