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.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 686

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

Source: lib/Vend/Config.pm
Line 5414 (context shows lines 5414-5426)

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!