SendMessageToUsersConnectedToComputer
(
ComputerName As String,
Message As String,
[SourceComputerName As String]
);
Parameters
[in] String ComputerName
Name of the computer to whose connected users the message is to be
sent.
[in] String Message
Message string to be sent to the users.
[in] String SourceComputerName
Name of the computer where the send call is to be executed. This
parameter is optional. If this parameter is not specified, the call
is executed on the current computer.
Description
Sends the given message to all the users connected to the specified
computer.
Example
Dim SendMsg As ISendMessage
'Get the ISendMessage interface.
Set SendMsg = CreateObject
("DirectScript.SendMessage.1")
'Send message to all the users connected to SUN computer.
SendMsg.SendMessageToUsersConnectedToComputer "\\SUN", "This is
test message", "\\MOON"
See Also
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator at webmaster@systemmanager.forsenergy.ru to inform them of the time this error occurred, and the actions you performed just before this error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.