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

特定の XBOX ユーザーのユーザー プロフィールを取得します。

## 構文

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

### パラメーター

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

XblContextCreateHandle で作成された xbox live コンテキスト ハンドル。

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

プロフィールを取得するユーザーの XBOX ユーザー ID。

*async*   \_In\_\
型: XAsyncBlock\*

呼び出し元が割り当てた AsyncBlock。

### 戻り値

型: HRESULT

この API 操作の HRESULT 戻り値コード。

## 解説

結果を取得するには、AsyncBlock コールバック内、または AsyncBlock 完了後に [XblProfileGetUserProfileResult](/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult) を呼び出します。

## REST 呼び出し

V2 GET /users/batch/profile/settings を呼び出します

## 要件

**ヘッダー:** profile\_c.h

**ライブラリ:** Microsoft.Xbox.Services.14x.GDK.C.lib

## 関連項目

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


## Related topics

- [XblProfileGetUserProfileResult](/ja-jp/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofileresult.md)
- [XSAPI C API で非同期呼び出しを行う](/ja-jp/services/xbox-services/fundamentals/xbox-services-api/live-flatc-async-patterns.md)
- [XblProfileGetUserProfilesAsync](/ja-jp/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesasync.md)
- [XblProfileGetUserProfilesResult](/ja-jp/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesresult.md)
- [XblProfileGetUserProfilesForSocialGroupAsync](/ja-jp/reference/live/xsapi-c/profile_c/functions/xblprofilegetuserprofilesforsocialgroupasync.md)
