Skip to main content
Version: Next

REJECT NEW REMOTE CONNECTIONS

REJECT NEW REMOTE CONNECTIONS ( rejectStatus )

ParameterTypeDescription
rejectStatusBoolean🡒True if new connections are rejected, else false

Description

The REJECT NEW REMOTE CONNECTIONS command specifies whether or not the application server accepts new remote user connections.

In rejectStatus, pass true to reject new remote connections. Passing false, specifies that new remote connections are allowed.

Note: This command can only be executed on 4D Server. If the method calling the command is executed locally on a remote client or in 4D single user, REJECT NEW REMOTE CONNECTIONS does nothing.

Example

You want to reject or accept new client connections:

  // Reject the new connections
 REJECT NEW REMOTE CONNECTIONS(True)
  // Execute the maintenance operation
 ...
  // Accept the new connections
 REJECT NEW REMOTE CONNECTIONS(False)

See also

DROP REMOTE USER
Get application info
SOAP REJECT NEW REQUESTS