Skip to main content
Version: 20 R7 BETA

On REST Authentication database method

$1, $2, $3, $4 -> On REST Authentication database method -> $0

ParameterTypeDescription
$1TextUser name
$2TextPassword
$3BooleanTrue = Digest mode, False = Basic mode
$4TextIp address of the caller
$0BooleanTrue = session opening accepted, False = session opening rejected

This command is not thread-safe, it cannot be used in preemptive code.

Description

The On REST Authentication database method is deprecated in projects as of 4D 20 R6.

The Force login authentication is now highly recommended. In converted projects, you can upgrade your configuration by clicking on the Activate REST authentication through ds.authentify() function settings button. See also this blog post to know how to migrate your code if necessary.