REJECT NEW REMOTE CONNECTIONS
REJECT NEW REMOTE CONNECTIONS ( rejectStatus )
Parameter | Type | Description | |
---|---|---|---|
rejectStatus | Boolean | → | 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
Application info
SOAP REJECT NEW REQUESTS
Properties
Command number | 1635 |
Thread safe | ✓ |