Sorry, was looking for this in code something like PHP: $users = Am_Di::getInstance()->AccessTable->allUsersWithProducts(array(2,5,8,9));
This will return array of user_ids PHP: Am_Di::getInstance()->getDbService()->selectCol("select distinct(user_id) from ?_access where product_id in (?a) and begin_date <= now() and expire_date>=now()", array(1,2,3));