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;
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:
Here you can see the full list of the Return Codes and Error Codes of Client Methods.