TAstaServerSocket.KillSelectedUsers
Applies to
TAstaServerSocket
Declaration
procedure
KillSelectedUsers(KillMessage: string);
Description
The KillSelectedUsers method is used in conjunction with the UserCheckList
property. The UserCheckList will present a visual list that will allow you to select one or more users.
Once the users have been selected, issuing the KillSelectedUsers command will terminate the client connections
to the server.
procedure TForm1.Button5Click(Sender: TObject);
begin
AstaServerSocket1.KillSelectedUsers('Your application is being ' +
'terminated by the System Administrator.');
end;