Modify account using password (ModifyAccountWithPassword)
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 = "{}");
Parameter Instructions
| Name | Type | Explanation |
|---|---|---|
| OldAccount | FString | Old account |
| OldPhoneAreaCode | FString | Old account's phone area code, leave empty if it's an email. |
| Password | FString | For more details, see Password Rules. |
| NewAccount | FString | New account |
| NewAccountVerifyCode | FString | Verification code for new account |
| NewPhoneAreaCode | FString | Phone area code for the new account, leave empty if it's an email. |
| ExtraJson | FString | Extended information |
Observers
The callback processing interface is AuthAccountResultObserver.The callback data structure is AccountResult.
Callback ID is kMethodIDAuthModifyAccount.
Code example
UINTLSDKAPI::ModifyAccountWithPassword("oldaccount@email.com", "","password", "newaccount@email.com", "12345", "");