Retrieving all users with specified permission
I don't think there is a clean or particularly efficient way of doing this using Craft's current services.

It'd have to be something like:

1. Grab all users
2. Loop through them calling craft()-&gt;userPermissions-&gt;doesUserHavePermission()
3. If true, save user in success array.


Alternatively you could use DbCommand to query the database directly for the info you're looking for.