KickUser MethodKickUser Method*
*Contents  *Index  *Topic Contents
*Previous Topic: IgnoreUsers Method
*Next Topic: KillChannel Method

KickUser Method

Disconnects a user from the server.

Syntax

object.KickUser Nickname[, Reason]

Parameters

objectRequired. An object expression that evaluates to an MsChatPr control.
NicknameRequired. A string expression that contains an existing user Nickname.
ReasonOptional. Can be an empty value or a string containing the reason for user disconnection.

Remarks

This feature is reserved for administrators and system operators only.

Examples

MsChatPr1.KickUser "Rousseau", "You talk too much!"
MsChatPr1.KickUser "Voltaire"

Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.