Name

UserControl — enable enhanced user database functions

SYNOPSIS

No | Yes

DESCRIPTION

The directive enables enhanced user database functions.

The default UserDB functions are programmed in the Vend::UserDB module. When this directive is enabled, functions from Vend::UserControl are used instead.

DIRECTIVE TYPE AND DEFAULT VALUE

Catalog directive

EXAMPLES

Example: Defining UserControl

UserControl yes

NOTES

AVAILABILITY

UserControl is available in Interchange versions:

4.6.0-5.9.0 (git-head)

SOURCE

Interchange 5.9.0:

Source: lib/Vend/Config.pm
Line 690

['UserControl',     'yesno',          'No'], 

Source: lib/Vend/Config.pm
Line 5434 (context shows lines 5434-5446)

sub parse_yesno {
my($var, $value) = @_;
$_ = $value;
if (m/^y/i || m/^t/i || m/^1/ || m/^on/i) {
  return 1;
}
elsif (m/^n/i || m/^f/i || m/^0/ || m/^of/i) {
  return 0;
}
else {
  config_error("Use 'yes' or 'no' for the $var directive\n");
}
}

AUTHORS

Interchange Development Group

SEE ALSO

UserDB(7ic), userdb(7ic)

DocBook! Interchange!