CLI: create-user and --random-pass


If I create a new user with CLI and option --random-pass, the created password is only sent with the creation email? Is there any way to return it to the console or via JSON/XML when using Remote API?


I believe you’d have to perform a query to get that information… you can use a command line this to get it:

virtualmin list-domains --domain --multiline


Little correction: list-users does the job :wink: