How to refer to some table in Criteria ?

How to refer to some table in Criteria ?

Hi,

My application has more than 1 users and I want them to access to different set of data

In the Customer form, there is the field called "SITE"

I have another form to assign which "SITE" a userid can access

However, I can't query that userid-site form in the Criteria for View. Is there any way to do this or can it be done in a different way ?

Thanks