how to add logged in user in database

Certified Senior Developer

Hi All

I am using one text field in my interface and in the display value, I am using loggedInuser() function.

and in save into i am doing like the below way, but it's not going into the database.

Even i tried like this 

a!save(ri!comments.commentBy,loggedInUser())

  Discussion posts and replies are publicly visible

Parents Reply Children