I know it is not safe and probably this never will be used, but need this to figure out for scripting purposes.
Edit: I hope Virtualmin developers will elaborate on this, but just in case if there is no oneliner command then a script can be written to find our all the users (they are listed in /home/) and feed them one by one to this command: