> ## Documentation Index
> Fetch the complete documentation index at: https://help.dingtalk.io/llms.txt
> Use this file to discover all available pages before exploring further.

# LOGINUSER

> Returns the name of the currently signed-in user within the current organization. Supported in various YiDA scenarios, including Forms and workflow design. Returns a Text value containing the employee's name.

The **LOGINUSER** function returns the name of the currently signed-in user within the current organization.

## Supported Product Scenarios

The LOGINUSER function is supported in the following YiDA scenarios:

* Form (main form field)
* Form (business association rule)
* Form (validation)
* Workflow design (validation rule)
* Workflow design (association action)

## Syntax

```text theme={"theme":{"light":"github-light","dark":"github-dark"}}
LOGINUSER()
```

## Return Value

| **Return type** | **Description**                               |
| --------------- | --------------------------------------------- |
| Text            | The name of the currently signed-in employee. |

## Example

The following example uses `LOGINUSER()` to retrieve the name of the currently signed-in employee.
