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

# XTF_USER_DATA

> XTF_USER_DATA

# XTF\_USER\_DATA

模擬ユーザーを表します。

<a id="syntaxSection" />

## 構文

```cpp theme={null}
typedef struct XTF_USER_DATA {
    UINT32 userId;
    WCHAR szEmailAddress[256];
    WCHAR szGamertag[32];
    BOOL bSignedIn;
    XTF_USER_XUID xuid;
    BOOL bAutoSignIn;
} XTF_USER_DATA, *PXTF_USER_DATA;  
```

<a id="ID4EG" />

<a id="membersSection" />

### メンバー

**userId**\
型: UINT32

ユーザーの一意の識別子。

**szEmailAddress**\
型: WCHAR

ユーザーのサインインに使用されるメール アドレス。

**szGamertag**\
型: WCHAR

ユーザーのゲーマータグ。

**bSignedIn**\
型: BOOL

true の場合、ユーザーはサインインしています。

**xuid**\
型: XTF\_USER\_XUID

ユーザーの XBOX ユーザー ID。

**bAutoSignIn**\
型: BOOL

true の場合、ユーザーは自動的にサインインするように設定されています。

<a id="remarksSection" />

## 解説

この構造体は、[IXtfUserClient::ListUsers](/reference/tools/xtf/xtfuser/classes/IXtfUserClient/methods/listusers-ixtfuserclient-xtfuser-xbox-windows-m) メソッドで使用されます。

この構造体のメンバーは、他の [IXtfUserClient](/reference/tools/xtf/xtfuser/classes/IXtfUserClient/ixtfuserclient-xtfuser-xbox-windows-t) メソッドを呼び出す際に使用できる値を提供します。

`IXtfUserClient` インターフェイスを実装するオブジェクトを作成するには、[XtfCreateUserClient](/reference/tools/xtf/xtfuser/methods/xtfcreateuserclient-xtfuser-xbox-windows-m) を呼び出します。

<a id="requirements" />

<a id="requirementsSection" />

## 要件

**ヘッダー:** xtfuser.h

**ライブラリ:** xtfuser.lib

**サポートされるプラットフォーム:** Windows (XBOX コンソール ツール用)

<a id="seealsoSection" />

## 関連項目

[XtfUser](/reference/tools/xtf/xtfuser/xtfuser-xbox-windows-n)


## Related topics

- [XTF_USER_DATA_V2](/ja-jp/reference/tools/xtf/xtfuser/structures/xtf_user_data_v2.md)
- [IXtfUserClient::ListUsers](/ja-jp/reference/tools/xtf/xtfuser/classes/IXtfUserClient/methods/listusers-ixtfuserclient-xtfuser-xbox-windows-m.md)
- [IXtfUserClient::SignoutUser](/ja-jp/reference/tools/xtf/xtfuser/classes/IXtfUserClient/methods/signoutuser-ixtfuserclient-xtfuser-xbox-windows-m.md)
- [IXtfUserClient::PairControllerWithUser メソッド](/ja-jp/reference/tools/xtf/xtfuser/classes/IXtfUserClient/methods/paircontrollerwithuser-ixtfuserclient-xtfuser-xbox-windows-m.md)
- [IXtfUserClient::PairControllerWithUserId メソッド](/ja-jp/reference/tools/xtf/xtfuser/classes/IXtfUserClient/methods/paircontrollerwithuserid-ixtfuserclient-xtfuser-xbox-windows-m.md)
