Is there a fucntion to remove usermanager users by CLI

I was looking at options to add and remove extensions by script and have worked out that process with Bulk Handler for adding pretty much everything.

For deleting an extension I found this awesome script by @lgaetz

Does anyone know if there is something that can be done to delete user manager users?
After seeing the previosu script for removing extensions, I poked at the functions in userman, but it does not seem to be there.
https://git.freepbx.org/projects/FREEPBX/repos/userman/browse/functions.inc/functions.php

The functions are in Userman.class.php. We rarely use functions.inc anymore

1 Like
1 Like

@lgaetz Hey! That did not exist yesterday!

Thanks though!

Thanks. Now I know where to be looking.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.