MsgCommunicator: Delphi Instant Messaging (IM) SDK
for easy creation of custom messenger system
Indicates whether the client has passed authentication procedure on the server or not.
property Logged: Boolean;
Set Logged to true to login on the default server. Set Logged to logout on the server. An application can check Logged to determine the current status of a client. If Logged is true, user has passed authentication procedure on the server successfully; if false, it is not authenticated yet.
To execute command on the server, user must be connected and logged. To check is the user connected, check out Connected property.
If user is connected but is not logged, it is in a guest mode (UserID is equal to MSG_INVALID_USER_ID default value). In the guest mode, it can get limited information from the server which can help him to find some details to logon or to register. The following commands can only be executed on the server in the guest mode: Logon, RegisterNewUser, IsUserExisting, FindUsers.