public function logIn($login, $password, $module, $role)
    {
        $returnValue = (bool) false;

        
        if($role === true) {
        	$role = new core_kernel_classes_Resource(TaoOntology::PROPERTY_INSTANCE_ROLE_GLOBALMANAGER);
        }
       
        core_kernel_users_Service::singleton()->login($login, $password, $role);
        

        return (bool) $returnValue;
    }
public function logIn($login, $password, $module, $role)
    {
        $returnValue = (bool) false;

        
        if($role === true) {
        	$role = new core_kernel_classes_Resource(TaoOntology::PROPERTY_INSTANCE_ROLE_GLOBALMANAGER);
        }
       
        core_kernel_users_Service::singleton()->login($login, $password, $role);
        

        return (bool) $returnValue;
    }
public function logIn ( $ login , $ password , $ module , $ role ) { $ returnValue = ( bool ) false ; if ( $ role === true ) { $ role = new core_kernel_classes_Resource ( TaoOntology :: PROPERTY_INSTANCE_ROLE_GLOBALMANAGER ) ; } core_kernel_users_Service :: singleton ( ) -> login ( $ login , $ password , $ role ) ; return ( bool ) $ returnValue ; }
Short description of method logIn

@access public
@author Bertrand Chevrier, <bertrand.chevrier@tudor.lu>
@param  string login
@param  string password
@param  string module
@param  boolean role
@return boolean
Short description of method logIn