Api\ServiceType\ApiLogin::Login PHP Method

Login() public method

Method to call the operation originally named Login Meta informations extracted from the WSDL - documentation: Выполняет авторизацию внешней системы и открывает сеанс работы
public Login ( string $login, string $password ) : string | boolean
$login string
$password string
return string | boolean
    public function Login($login, $password)
    {
        try {
            $this->setResult(self::getSoapClient()->Login($login, $password));
            return $this->getResult();
        } catch (\SoapFault $soapFault) {
            $this->saveLastError(__METHOD__, $soapFault);
            return false;
        }
    }