# Query filter leveraging a relationship between a user and a CPT

**URL:** <https://forum.bricksbuilder.io/t/query-filter-leveraging-a-relationship-between-a-user-and-a-cpt/28317>\
**Category:** Uncategorized\
**Created:** [November 28, 2024, 6:25am UTC](https://forum.bricksbuilder.io/t/query-filter-leveraging-a-relationship-between-a-user-and-a-cpt/28317 "2024-11-28T06:25:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lawrence](https://forum.bricksbuilder.io/letter_avatar_proxy/v4/letter/l/2bfe46/32.png) [@lawrence](https://forum.bricksbuilder.io/u/lawrence)\
**Post date:** [November 28, 2024, 6:25am UTC](https://forum.bricksbuilder.io/t/query-filter-leveraging-a-relationship-between-a-user-and-a-cpt/28317/1 "2024-11-28T06:25:59Z")

</div>

I have a CPT called ‘Companies’ that has a bi-direction field called ‘Employee’, which is mapped a ‘Company’ user field, to associate any number of users to a company page.

Users can also publish blog posts and are their authors.

I would like to display content from the Company CPT given the association between the author of the blog post and the Company.

Is this at all possible?
