MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Indicates the list of all users on the server.
property Users: TThreadList;
Users is a thread-safe list for the fast access to the users' details. Each item is a PMsgUserInfo pointer to the structure of user details in memory. This full users list is the union of users database and connected guests which has no information in the database yet. You can use IsUserExisting to determine if this user is already registered and IsUserConnected to examine is user connected or not.
|Note: ||Using of Users directly requires experience of writing thread-safe code. We do not recommend to work with Users directly to avoid the potential risk to destroy the normal work of TMsgServer component. Please use GetUserInfo to learn user details, ChangeUserInfo to update them, and the IsUserExisting, IsUserConnected functions to examine user status.