QueryUserNameStatus
AndroidiOSWindows
If you were looking for the method for use with Unity, see QueryUserNameStatus for Unity SDK.
If you were looking for the method for use with Unity, see QueryUserNameStatus for Unity SDK.
Check whether the user name can be used to register an account. If the user name is available, the value of IsUserNameAvailable at INTLAccountResult returned is 1. Otherwise, it is 0.
Function definition
UFUNCTION(BlueprintCallable, Category = "INTLSDKAPI")
static void QueryUserNameStatus(const FString & userName);
Input parameters
Parameter | Type | Description |
---|---|---|
userName | FString | username |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is kMethodIDAuthQueryUsernameStatus
.
Code sample
UINTLSDKAPI::QueryUserNameStatus("username");