drush role:listfor drush 9x

Display a list of all roles defined on the system.

drush role:list

  • Aliases

    role:list has 2 alias/es:

    drush rls

    drush role-list

  • Options

    role:list accepts 7 option/s:


    --format : format


    --filter : filter


    --fields : fields


    --field : field


    --notify : notify


    --druplicon : druplicon


    --xh-link : xh-link

  • Examples

    Display a list of roles that have the administer nodes permission assigned.

    drush role:list --filter='administer nodes'

  • Comments

    comments powered by Disqus