Post User Name to Field

i have an input form application and I would like to post the user’s user ID (“login”) into one of the fields.

How do I refer to the user ID? If the field in sec_users table (a different table than the one I am entering data into) is called “login” would I use [login] or {login} or $login or some other reference?

And where would I put the instruction to set a field with this value?

Thanks for your assistance.

onBeforeInsert -> {create_user} = [usr_login] ;

Self answered :wink: