QueryUserNameStatus
AndroidiOSWindows
If you were looking for the method for use with Unreal Engine, see QueryUserNameStatus for Unreal Engine SDK.
If you were looking for the method for use with Unreal Engine, see QueryUserNameStatus for Unreal Engine 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
public static void QueryUserNameStatus(string userName);
Input parameters
Parameter | Type | Description |
---|---|---|
userName | string | username |
Observers
The callback processing interface is AuthAccountResultObserver. The callback data structure is AccountResult.
The callback methodID is INTL_AUTH_QUERY_USER_NAME_STATUS
.
Code sample
INTLAPI.QueryUserNameStatus("username");