WRDAuthSupportBase::IsLoginDenied (open)

Additional login check after username and password were accepted

Syntax

LOADLIB "mod::wrd/lib/auth.whlib";

RECORD FUNCTION IsLoginDenied(INTEGER userid, RECORD options)

Parameters

INTEGER userid

The entity id of the user that is logging in

RECORD options

Additional information

BOOLEAN isimpersonation

If this login is impersonated

STRING login

Name used to login

Return value

RECORD

A default record if the user may login, or a record containing information about why the login failed

STRING code

Error code for denied login, must be present and non-empty