List all WordPress users with their roles
list wordpress users and roles | show all users wp cli | list editors and authors wordpress | wp-cli | users | roleswp user list --fields=ID,user_login,user_email,roles --path=/var/www/vhosts/example.com/httpdocsPrints a table of all users with ID, login, email and assigned roles. Useful for a quick overview when taking over a website or before cleaning up old accounts. Use --role=editor to filter by role.
Also searched as
- list wordpress users and roles
- show all users wp cli
- list editors and authors wordpress