CustomerUser#

NAME#

Kernel::System::DynamicField::ObjectType::CustomerUser

DESCRIPTION#

CustomerUser object handler for DynamicFields

PUBLIC INTERFACE#

new()#

usually, you want to create an instance of this by using Kernel::System::DynamicField::ObjectType::CustomerUser->new();

PostValueSet()#

perform specific functions after the Value set for this object type.

my $Success = $DynamicFieldTicketHandlerObject->PostValueSet(
    DynamicFieldConfig => $DynamicFieldConfig,      # complete config of the DynamicField
    ObjectID           => $ObjectID,                # ID of the current object that the field
                                                    # must be linked to, e. g. TicketID
    Value              => $Value,                   # Value to store, depends on backend type
    UserID             => 123,
);

ObjectDataGet()#

retrieves the data of the current object.

my %ObjectData = $DynamicFieldTicketHandlerObject->ObjectDataGet(
    DynamicFieldConfig => $DynamicFieldConfig,      # complete config of the DynamicField
    UserID             => 123,
);

returns:

%ObjectData = (
    ObjectID => 123,
    Data     => {
        UserLogin     => 'jdoe',
        UserFirstname => 'John',
        UserLastname  => 'Dome',
        UserEmail     => 'j.doe@example.com',
        # ...
    }
);