SessionRemove

SessionRemove#

NAME#

Kernel::GenericInterface::Operation::Session::SessionRemove - GenericInterface Session Remove Operation backend

PUBLIC INTERFACE#

new()#

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

Run()#

Removes a session. Returns true (session deleted), false (if session can not get deleted).

my $Result = $OperationObject->Run(
    Data => {
        SessionID => '12345678243',
    },
);

$Result = {
    Success      => 1,                                                  # 0 or 1
    ErrorMessage => 'SessionRemove: Could not remove SessionID!',       # In case of an error
    Data         => {
        Success => $Success,
    },
};