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

# PFAuthenticationLoginWithSteamIdRequest

> PFAuthenticationLoginWithSteamIdRequest データ モデル。ユーザーが初めて Steam ID でサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成されます。

PFAuthenticationLoginWithSteamIdRequest データ モデル。ユーザーが初めて Steam ID でサインインし、CreateAccount が true に設定されている場合、新しい PlayFab アカウントが作成され、Steam アカウントにリンクされます。この場合、メール アドレスやユーザー名は PlayFab アカウントに関連付けられません。それ以外に、Steam アカウントにリンクされた PlayFab アカウントが存在しない場合はその旨を示すエラーが返されるので、タイトルはユーザーが PlayFab アカウントを作成できるよう誘導できます。Steam クライアント アプリにログインしていない Steam ユーザーは Steam ユーザー名のみが同期され、通貨や国などのその他のデータは、クライアントを開いた状態でログインするまで利用できません。

## 構文

```cpp theme={null}
typedef struct PFAuthenticationLoginWithSteamIdRequest {  
    bool createAccount;  
    PFStringDictionaryEntry const* customTags;  
    uint32_t customTagsCount;  
    PFGetPlayerCombinedInfoRequestParams const* infoRequestParameters;  
    const char* steamId;  
} PFAuthenticationLoginWithSteamIdRequest;  
```

### メンバー

**`createAccount`**   bool

この ID に現在リンクされている PlayFab アカウントがない場合、自動的に PlayFab アカウントを作成します。

**`customTags`**   PFStringDictionaryEntry const\*<br />*may be nullptr*

(オプション) リクエストに関連付けるオプションのカスタム タグ (ビルド番号、外部トレース識別子など)。

**`customTagsCount`**   uint32\_t

customTags の数

**`infoRequestParameters`**   PFGetPlayerCombinedInfoRequestParams const\*<br />*may be nullptr*

(オプション) ユーザーに対して返す情報のフラグ。

**`steamId`**   const char\*<br />*is null-terminated*

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

## 要件

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

## 関連項目

[PFAuthenticationTypes のメンバー](/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members)


## Related topics

- [PFAuthenticationServerLoginWithSteamIdAsync](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidasync.md)
- [Services C API overview - PFAuthenticationTypes.h](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/pfauthenticationtypes_members.md)
- [PFAuthenticationLoginWithSteamRequest](/ja-jp/services/playfab/api-references/c/pfauthenticationtypes/structs/pfauthenticationloginwithsteamrequest.md)
- [PFAuthenticationServerLoginWithSteamIdGetResult](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresult.md)
- [PFAuthenticationServerLoginWithSteamIdGetResultSize](/ja-jp/services/playfab/api-references/c/pfauthentication/functions/pfauthenticationserverloginwithsteamidgetresultsize.md)
