MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system


TMsgServer.GetUserInfo
TMsgServer
Top 

Retrieves information about user registered at this server.

function GetUserInfo(const UserID: Cardinal): TMsgUserInfo;

Description
Call GetUserInfo to get user details of the user registered at this server. GetUserInfo returns a TMsgUserInfo structure of user details. If there is no registered user with specified UserID at the server, TMsgUserInfo.UserID will be equal to MSG_INVALID_USER_ID and TMsgUserInfo.UserName will be empty string.

If you need only to know is user with UserID registered on the server or not, you can call IsUserExisting.



© AidAim Software MsgCommunicator: