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

# LOGINUSERWORKNO

> The LOGINUSERWORKNO function returns the unique ID (userId) of the currently signed-in user within the current organization. Use it across YiDA scenarios such as Form and workflow design.

The **LOGINUSERWORKNO** function returns the unique ID (userId) of the currently signed-in user within the current organization.

## Supported Scenarios

The LOGINUSERWORKNO function is supported in the following YiDA scenarios.

* Form (main table 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"}}
LOGINUSERWORKNO()
```

## Return Value

| **Return type** | **Description**                                                                             |
| --------------- | ------------------------------------------------------------------------------------------- |
| Text            | The unique ID (userId) of the currently signed-in employee within the current organization. |

## Example

Use the `LOGINUSERWORKNO()` function to retrieve the unique ID (userId) of the currently signed-in employee.
