# 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>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.inforiver.com/formula-syntax/identifiers/loggedin_name.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
