Common#

NAME#

Kernel::GenericInterface::Operation::Session::Common - Base class for Session Operations

PUBLIC INTERFACE#

CreateSessionID()#

performs user authentication and return a new SessionID value

my $SessionID = $CommonObject->CreateSessionID(
    Data {
        UserLogin         => 'Agent1',          # optional, provide UserLogin or CustomerUserLogin
        # or
        CustomerUserLogin => 'Customer1',       # optional, provide UserLogin or CustomerUserLogin

        Password          => 'some password',   # plain text password
    }
);

Returns undef on failure or

$SessionID = 'AValidSessionIDValue';         # the new session id value