does not contain a definition for 'GetUserIDFilter'

I try to link the user table to different other tables to limit access of users to their own data, I did follow the instructions on the help page, but I continue to get
error CS1061: ‘XXXX._FTUsers’ does not contain a definition for ‘GetUserIDFilter’.
when generating.Does anybody have a clue?

Make sure that you have:

  1. set up User ID field for the user table as well
  2. update to the latest template (Tools → Update Template)

Thank you. Now it works.