DisableNewConnections

Disables new Financial Management connections for the specified user and application server criteria.

Tip:

To disable new connections for a given cluster or application, use HsxClient.DisableNewConnections.

To enable new connections, use EnableNewConnections.

Syntax

<HsvSystemInfo>.DisableNewConnections vbAllServers, bstrServer, vbAllUsers, lActivityUserID

Argument

Description

vbAllServers

Boolean (ByVal). Specifies whether to disable connections for all application servers. Pass TRUE for all application servers, FALSE to specify an application server with the bstrServer argument.

bstrServer

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

vbAllUsers

Boolean (ByVal). Specifies whether to disable connections for all users. Pass TRUE for all users, FALSE to specify a user with the lActivityUserID argument.

lActivityUserID

Long (ByVal). The activity user ID of the user for whom to disable connections. This argument is used only if the vbAllUsers argument is set to FALSE.

To get a user’s activity user ID, use GetActivityUserID.