# LOGGEDIN\_NAME

The LOGGEDIN\_NAME identifier returns the user name. It can be used along with a SETVALUE function to capture the user who updates a data input field.&#x20;

## Example

The Last Updated At and Last Updated By housekeeping fields can be used to capture the user and time at which a data input field was updated. These fields however cannot be written back. Instead of using the built-in housekeeping columns, you can leverage the SETVALUE function with the LOGGEDIN\_NAME identifier and store the user name in a text field.

In this example, we're capturing the user name when the approval checkbox is changed. The text fields can then be written back to the preferred destination(s).

<figure><img src="https://3062809325-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FEbkCXCUXmtUq5tcnUtZE%2Fuploads%2FubEvBG5w31YVohlM1nbl%2Fimage.png?alt=media&#x26;token=a71d28a6-3782-44f5-bf92-259b9d4b003d" alt=""><figcaption><p>Capturing the user name with the SETVALUE function</p></figcaption></figure>
