KillUsers

Logs off users from a cluster. You can log off users from all application servers, or log off only users of given applications and application servers.

Tip:

To log off given users or sessions, use HsvSystemInfo.KillUsers.

Syntax

<HsxClient>.KillUsers bstrClusterName, vbAllApplications, bstrAppName, vbAllServers, bstrServer

Argument

Description

bstrClusterName

String (ByVal). The name of the cluster.

vbAllApplications

Boolean (ByVal). Determines whether to log off users from all applications. Pass TRUE to log users off from all applications, FALSE to log users off the application specified in the bstrAppName argument.

bstrAppName

String (ByVal). The name of the application for which to log users off. This argument is used only if the vbAllApplications argument is set to FALSE.

vbAllServers

Boolean (ByVal). Determines whether to log off users from all application servers. Pass TRUE to log users off from all application servers, FALSE to log users off the server specified in the bstrServer argument

bstrServer

String (ByVal). The name of the application server for which to log users off. This argument is used only if the vbAllServers argument is set to FALSE.