CLI: create-user and --random-pass

Hiho!

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?

Andy

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 example.com --multiline

Thanks!

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