MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Updates user details at server.
function UpdateUserInfo(var UserInfo: TMsgUserInfo; ChangePassword: Boolean; Password: ShortString = ''): Integer;
Description
Fill UserInfo record by user details (UserID and UserName at least), set ChangePassword to False in case you do not want to change it, or specify a new Password and set ChangePassword to True if you would like to change a password, then call UpdateUserInfo to change details of this registered user in the server database. UpdateUserInfo sends command to the server, waits for an answer, and returns MSG_COMMAND_OK if this operation executed successfully, otherwise it returns one of the following error codes:
Name
|
Value
|
MSG_Error_UpdateUserInfo_NotConnected
MSG_Error_UpdateUserInfo_SendCommandFailed
MSG_Error_UpdateUserInfo_ReceiveResultFailed
MSG_Error_UpdateUserInfo_InvalidParams
MSG_Error_UpdateUserInfo_InvalidServerReply
MSG_Error_UpdateUserInfo_Failed
MSG_Error_UpdateUserInfo_UserDoesNotExist
MSG_Error_UpdateUserInfo_NotLogged
|
60033
60034
60035
60036
60037
60038
60039
60106
|
Here you can see the full list of the Return Codes and Error Codes of Client Methods.
|