Sends a message to the specified sessions.
Visual Basic |
---|
Public Sub SendMessage( _ ByVal LoginSessionsIDsArray As Variant, _ ByVal MessageBody As String _ ) |
- LoginSessionsIDsArray
- A Variant Array of strings representing session IDs of connected users.
- MessageBody
- The text of the message.
SendMessage is used to send mail to currently connected users. To get the session IDs, parse the return value of the GetConnections Method. The session IDs are in the LOGIN_SESSION_ID elements.