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

# User Functions

> This article lists all user-related functions on the YiDA platform, including how to retrieve the current signed-in user's information, manager details, and department information.

## Function Overview

| **Function name**                              | **Description**                                                                                                                                                                                     |
| ---------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [USER](/yida/form/vwncwe)                      | No-parameter mode: `User()` returns the current signed-in user. Parameter mode: `User(level)` returns the manager of the current signed-in user, where `level` specifies which manager to retrieve. |
| [USERFIELD](/yida/form/oyuexdmpaxiys2tm)       | Automatically populates basic information linked to the user search box.                                                                                                                            |
| [DIRECTOR](/yida/form/pvw37ge84kxg9x28)        | Retrieves the manager's name for the current signed-in user.                                                                                                                                        |
| [EMPLOYEE](/yida/form/sxc8gv9dkhmt8zro)        | Returns the corresponding array of user information objects (that is, the underlying value of the user component).                                                                                  |
| [GETUSERNAME](/yida/form/zl5s2mdi2ue214n4)     | Retrieves the name of the current signed-in user.                                                                                                                                                   |
| [LOGINUSER](/yida/form/iak2o5xcbksb13wz)       | Returns the current signed-in user.                                                                                                                                                                 |
| [LOGINUSERWORKNO](/yida/form/sprth45e4nh19yhw) | Retrieves the unique employee ID (employee UserID) of the current signed-in user.                                                                                                                   |
| [DEPTNAME](/yida/form/igrvxuztr0syw9sn)        | Retrieves the department information of a specified user by `userId`.                                                                                                                               |
