Check if a username is already existing in database of a lobby.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be “VerifyUsername" | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in “yyyyMMddHHmmss” format | DateTime | Y |
Username | Username | String (28) | Y |
Name | Description | Type and Limit | Required? |
---|---|---|---|
IsExist | User existing? True: user existing False: user not existing | Bool | Y |
Username | Username | String (28) | Y |
ErrorMsgId | Error message: 0: Success 108: Username length/format incorrect | Byte | Y |
ErrorMsg | Error message details | String | Y |
Output
1 2 3 4 5 6 7 8 9 |
<?xml version="1.0" encoding="utf-8"?> <VerifyUsernameResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsExist>True</IsExist> <Username>DemoUser001</Username> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </VerifyUsernameResponse> |