Dataset filter by user login to a table with reference field

Hello J.D. Thank you very much for the reply. Could you please also share how the code would look in the front end (to filter based on the id)