OTRS 7.0 API Reference Perl

Description manuals and libraries
OTRS 7.0 API Reference Perl > Perl Modules > Kernel::System::DataValidation::Validator::Customer::CustomerUserID

NAME

Kernel::System::DataValidation::Validator::Customer::CustomerUserID - Validator that verifies a given CustomerUserID.

PUBLIC INTERFACE

Provides a Check method, that will be called by the Kernel::System::DataValidation backend.

Example()

Returns an example of a possible value to be verified.

Check()

Lookups the given CustomerUserID in the database. For more information about the customer user backend, please refer to Kernel::System::CustomerUser.

    my $True = $Validator->Check(
        Value => 1,
    );

    my $False = $Validator->Check(
        Value => 'WrongCustomerUserID',
    );