KillUsers

Logs off users. You can log off all users on all application servers, or log off only given users, application servers, and sessions.

Tip:

To log off users from a given server cluster or application, use HFMwManageApplications.KillUsers.

Syntax

<HFMwSystemInfo>.KillUsers vbAllServers, bstrServer, vbAllUsers, lActivityUserID, vbAllSessions, lActivitySessionID

Argument

Description

vbAllServers

A flag that 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.

Input argument. Boolean subtype.

bstrServer

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.

Input argument. String subtype.

vbAllUsers

A flag that determines whether to log off all users. Pass TRUE to log off all users, FALSE to log off the user specified in the lActivityUserID argument.

Input argument. Boolean subtype.

lActivityUserID

The activity user ID of the user to log off. This argument is used only if the vbAllUsers argument is set to FALSE.

Tip:

You can get the activity user ID of all users on the system with the HFMwManageApplications component’s EnumUsersOnSystem. method.

Input argument. Long subtype.

vbAllSessions

A flag that determines whether to log off all user sessions. Pass TRUE to log off all sessions, FALSE to log off the session specified in the lActivitySessionID argument.

Input argument. Boolean subtype.

lActivitySessionID

The ID of the session to log off. This argument is used only if the vbAllSessions argument is set to FALSE.

Input argument. Long subtype.