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
public static void QueryUserNameStatus(string userName);
Input Parameters
| Parameters | Type | Explanation |
|---|---|---|
| userName | String | username |
Callback processing
The callback handler interface is AuthAccountResultObserver.The callback data structure is AccountResult.
The callback ID is INTL_AUTH_QUERY_USER_NAME_STATUS.
Code example
INTLAPI.QueryUserNameStatus("username");