View on a table

Can I create a form with a table view so that a user can only see records which contain there username or ID


As I’m not quite sure the form design you would like to have, would you mind to share examples or user case for us to understand?