List Multisite Users
Using wp-cli(1) If I run wp user list
I get a list of the users (2 admins in my case) at the top level of multisite(2).
List Multisite Sites’ Users
I have 25 sites with various users. Some users are in different sites as different roles.
When I use the network flag wp user list --network
I get the same style report minus the roles column; but the report spans the multisite network of sites.
List Multisite Sites’ Users+Roles
My goal is to list all the admins of each site. This is where I am stuck. Apparently, adding the additional flag --role=administrator
adds nothing to the conversation. It will run the same network report of all registered users.
Is there a combination of flags that will list the users along with their roles?
References:
- wp-cli.org
- codex.wordpress.org/Glossary#Multisite
Side note: Dividing these up by site would also be handy.