Skip to main content

ModifyAccountWithPassword

AndroidiOSWindows
If you were looking for the method for use with Unity, see ModifyAccountWithPassword for Unity SDK.

Function definition

UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static bool ModifyAccountWithPassword(
const FString OldAccount,
const FString OldPhoneAreaCode,
const FString Password,
const FString NewAccount,
const FString NewAccountVerifyCode,
const FString NewPhoneAreaCode,
const FString ExtraJson = "{}");

Input parameters

NameTypeDescription
OldAccountFStringOld account
OldPhoneAreaCodeFStringPhone area code of the old account, fill in the blanks if the account is an email.
PasswordFStringPassword. For more information, see Password Rules.
NewAccountFStringNew account
NewAccountVerifyCodeFStringVerification code of the new account
NewPhoneAreaCodeFStringPhone area code of the new account, fill in the blanks if the account is an email.
ExtraJsonFStringExtended information

Observers

The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.

The callback methodID is kMethodIDAuthModifyAccount.

Code sample

UINTLSDKAPI::ModifyAccountWithPassword("oldaccount@email.com", "","password", "newaccount@email.com", "12345", "");