Dear Gurus, I'm a really beginer in Jasper Report and we are using v6.0.1 We have a datawarehouse on which we have to do both Dashboards/Reports and Adhoc Views. Both of them have to integrate a row level security (the same one) based on several attributes of the user connected. I try to find how to achieve this row level security and it seems that I have to use 2 distinct ways depending if I produce a report or an adhoc view. For report I have to use some $P syntax in where clause of my query when for adhoc view I can use a security file using groovy syntax. Some of our query for report are quite complex and using subqueries, so they must be based on SQL queries as we didn't find a way to do them with domain designer. My question is, is there a way to share the same security to be more efficient for both reports and adhoc views ? A solution would be to create a domain based on a SQL query, is it possible ? Thank you for your inputs. Regards, Brice