This is an internal function not generally used by developers.
<?php $perms = fetchPagePermissions(24);?>
returns an object that contains the id and permission_id from
user_permission_matches that can access page 24