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',
UserLogin => 'Agent1',
# or
CustomerUserLogin => 'Customer1', # optional, provide UserLogin or CustomerUserLogin
Password => 'some password', # plain text password
},
);
$Result = {
Success => 1, # 0 or 1
ErrorMessage => 'SessionRemove: Could not remove SessionID!', # In case of an error
Data => {
Success => $Success,
},
};