postgresql9.0
select u.user_id,
u.first_names || ' ' || u.last_name
from cc_users u
where u.user_id not in (
select grantee_id from acs_permission.permissions_all(:object_id)
)
and [template::list::filter_where_clauses -name users]
order by upper(first_names), upper(last_name)