Check if the username is registered (QueryUserNameStatus)
Check if the username can be used to register an account.If the username is available, the value of IsUserNameAvailable in INTLAccountResult will be 1; otherwise, it will be 0.
Function Definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void QueryUserNameStatus(const FString & userName);
Input Parameters
| Parameters | Type | Explanation |
|---|---|---|
| userName | FString | username |
Callback processing
The callback processing interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback ID is kMethodIDAuthQueryUsernameStatus.
Code example
UINTLSDKAPI::QueryUserNameStatus("username");