Get a user UIN by his nickname.
A nickname or login is a special user's name used for entering the chat. If this is a domain user, this is his domain login.
{
"cmd" : "0005",
"ServerKey" : "iddqd",
"APIStype" : "mydata",
"Nick" : "JohnSmith",
"Domain" : "",
"AuthType" : 0
}
Parameter |
Type |
Value |
---|---|---|
cmd |
string |
"0005", the number of the command MCIAPI_CS_GetUINByNick; |
ServerKey |
string |
IntegrationAPI key, can be set in the server settings; |
APIStype |
string |
integration type. You can set any string; |
Nick |
string |
user nickname, this field is necessary and unique; |
Domain |
string |
user's domain name. This parameter is used when a user uses domain authorization; |
AuthType |
integer |
user authentication type, number. |
{
"cmd" : "0005",
"UIN" : 17
}
Field |
Type |
Value |
---|---|---|
cmd |
integer |
HEX number of a command that was successfully executed; |
UIN |
integer |
unique identifier of the found user (UIN). |
#5, MCIAPI_Error_WrongIntegrationKey