Master/Detail page - add logged in user (v2023)

Hi

Using v2023.13

I have setup a Master/Detail page

Master table is epsilon
Detail table is epsilon_comments

So a logged in user can add comments against a master record in epsilon and that all works fine and updates the detail page as expected

Can I somehow pickup the user ID and have that added to the detail table so people can see who added a comment

Hope this make sense

Kind Regards
John B

You can use Row_Inserting/Updating server event and update your field with CurrentUserID().

thanks, any chance you can point me to an example which I could then adapt
Please

Kind Regards
John B