SessionGet

SessionGet#

NAME#

Kernel::GenericInterface::Operation::Session::SessionGet - GenericInterface Session Get Operation backend

PUBLIC INTERFACE#

new()#

usually, you want to create an instance of this by using Kernel::GenericInterface::Operation->new();

Run()#

Get session information.

my $Result = $OperationObject->Run(
    Data => {
        SessionID => '1234567890123456',
    },
);
$Result = {
    Success      => 1,                                # 0 or 1
    ErrorMessage => '',                               # In case of an error
    Data         => {
        UserSessionStart    => '1293801801',
        UserRemoteAddr      => '127.0.0.1',
        UserRemoteUserAgent => 'Some User Agent x.x',
        UserLastname        => 'SomeLastName',
        UserFirstname       => 'SomeFirstname',
        # and other preferences values
    },
};