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;
    }