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

# PFAccountManagementServerGetPlayFabIDsFromSteamNamesAsync

> 適用於 Windows 的伺服器 API，使用以祕密金鑰取得的 Title 實體控制代碼進行驗證，查詢一組 Steam 角色名稱對應的 PlayFab ID。

擷取指定之一組 Steam 識別碼所對應的唯一 PlayFab 識別碼。Steam 識別碼為角色名稱 (persona name)。

## 語法

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

### 參數

**`titleEntityHandle`**   PFEntityHandle

使用 PFAuthenticationGetEntityWithSecretKeyAsync 取得之 Title 實體的 PFEntityHandle。

**`request`**   [PFAccountManagementGetPlayFabIDsFromSteamNamesRequest\*](/zh-TW/services/playfab/api-references/c/pfaccountmanagementtypes/structs/pfaccountmanagementgetplayfabidsfromsteamnamesrequest)

已填入的要求物件。

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

用於非同步作業的 XAsyncBlock。

### 傳回值

類型：HRESULT

此 API 作業的結果代碼。

## 備註

此 API 適用於 Windows。當非同步工作完成時，請呼叫 [PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResultSize](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamnamesgetresultsize) 和 [PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamnamesgetresult) 以取得結果。

## 需求

**標頭：** PFAccountManagement.h

## 另請參閱

[PFAccountManagement 成員](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/pfaccountmanagement_members)


## Related topics

- [PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamnamesgetresult.md)
- [PFAccountManagementServerGetPlayFabIDsFromSteamNamesGetResultSize](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamnamesgetresultsize.md)
- [PFAccountManagementServerGetPlayFabIDsFromSteamIDsAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamidsasync.md)
- [PFAccountManagementClientGetPlayFabIDsFromSteamNamesAsync](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementclientgetplayfabidsfromsteamnamesasync.md)
- [PFAccountManagementServerGetPlayFabIDsFromSteamIDsGetResult](/zh-TW/services/playfab/api-references/c/pfaccountmanagement/functions/pfaccountmanagementservergetplayfabidsfromsteamidsgetresult.md)
