oracle8.1.6
select dotlrn_users.id,
dotlrn_users.first_names,
dotlrn_users.last_name,
dotlrn_users.email,
dotlrn_users.type,
acs_permission.permission_p(:dotlrn_package_id, :user_id, 'read_private_data') as read_private_data_p
from dotlrn_users
where dotlrn_users.user_id = :user_id