MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Checks for the user existing.
function IsUserExisting(UserID: Cardinal): Integer;
Description
Call IsUserExisting to determine if user with UserID is already registered on the server or not. IsUserExisting sends command to the server, waits for an answer, and returns MSG_COMMAND_RESULT_TRUE if user with this UserID is registered on the server, or MSG_COMMAND_RESULT_FALSE if it is not registered, or in case of the error occurs, it returns one of the following error codes:
Name
|
Value
|
MSG_Error_IsUserExisting_NotConnected
MSG_Error_IsUserExisting_SendCommandFailed
MSG_Error_IsUserExisting_ReceiveResultFailed
MSG_Error_IsUserExisting_InvalidParams
MSG_Error_IsUserExisting_InvalidServerReply
MSG_Error_IsUserExisting_Failed
|
60014
60015
60016
60017
60018
60019
|
If you would like to get user details, you can call GetUserInfo.
Here you can see the full list of the Return Codes and Error Codes of Client Methods.
|