ModifyAccountWithPassword
AndroidiOSWindows
If you were looking for the method for use with Unity, see ModifyAccountWithPassword for Unity SDK.
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
Name | Type | Description |
---|---|---|
OldAccount | FString | Old account |
OldPhoneAreaCode | FString | Phone area code of the old account, fill in the blanks if the account is an email. |
Password | FString | Password. For more information, see Password Rules. |
NewAccount | FString | New account |
NewAccountVerifyCode | FString | Verification code of the new account |
NewPhoneAreaCode | FString | Phone area code of the new account, fill in the blanks if the account is an email. |
ExtraJson | FString | Extended 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", "");