
#############
SessionCreate
#############


****
NAME
****


Kernel::GenericInterface::Operation::Session::SessionCreate - GenericInterface Session Create Operation backend


****************
PUBLIC INTERFACE
****************


new()
=====


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


Run()
=====


Retrieve a new session id value.


.. code-block:: perl

     my $Result = $OperationObject->Run(
         Data => {
             UserLogin         => 'Agent1',          # optional, provide UserLogin or CustomerUserLogin
             # or
             CustomerUserLogin => 'Customer1',       # optional, provide UserLogin or CustomerUserLogin
 
             Password          => 'some password',   # plain text password
         },
     );
 
     $Result = {
         Success      => 1,                          # 0 or 1
         ErrorMessage => '',                         # In case of an error
         Data         => {
             SessionID => $SessionID,
         },
     };





