Format
Attribute Description
Return Value
Example
Use theUSER() function to retrieve information about the current signed-in user and their manager.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The USER function retrieves information about the current signed-in user or their manager. Use the level parameter to specify which level to return.
USER(level)
| Attribute | Required | Description |
|---|---|---|
| level | No | Number type. Determines whether the formula returns information about the current signed-in user or their manager. • If this parameter is omitted or set to 0, the function returns the name and userId of the current signed-in user.• If this parameter is set to a value other than 0, the function returns information about the signed-in user’s manager. Set to 1 for the first-level manager, or 2 for the second-level manager. |
| Return type | Description |
|---|---|
| array | The returned user information. When retrieving manager information, returns empty if no manager exists at the specified level. |
USER() function to retrieve information about the current signed-in user and their manager.Was this page helpful?