As the title suggest is it possible to lock user or disable user service with API? I check the remoting client script but couldn't find any parameter that support that feature. Currently admin can do both with Edit Client page. Thanks in advance
Thanks for your reply. I try to lock user from login by updating the cancel column in table client to 'y' but I test it and I still can login. Is there any other table I should update to prevent user login? Thanks in advance.
This is how I did it: PHP: UPDATE `client`, `sys_user` SET `client`.`locked` = ?, `sys_user`.`active` = ? WHERE `client`.`client_id` = ? AND `sys_user`.`client_id` = ? Although I'm not so sure whether this change will be reflected in multiserver setup. From my reading I believe that if you have only 1 database server, this change should be fine.