Skip to main content
Adds playfab username/password auth to an existing account created via an anonymous auth method, e.g. automatic device ID login.

Syntax

Parameters

entityHandle   PFEntityHandle PFEntityHandle to use for authentication. request   PFAccountManagementAddUsernamePasswordRequest* Populated request object. async   XAsyncBlock*
Inout
XAsyncBlock for the async operation.

Return value

Type: HRESULT Result code for this API operation.

Remarks

This API is available on Win32, Linux, and macOS. See also ClientLoginWithEmailAddressAsync, ClientLoginWithPlayFabAsync. When the asynchronous task is complete, call PFAccountManagementClientAddUsernamePasswordGetResultSize and PFAccountManagementClientAddUsernamePasswordGetResult to get the result.

Requirements

Header: PFAccountManagement.h

See also

PFAccountManagement members
Last modified on August 3, 2026