> For the complete documentation index, see [llms.txt](https://docs.fieldmotion.com/fieldmotion-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.fieldmotion.com/fieldmotion-api-docs/user/_getcompanyname.md).

# \_getCompanyName

Get the company name of the specified User.

### Parameters

#### id

The ID of the User.

### Example

```
FM_api('User_get', ['id' => '123']);
```

### Result

#### On Success

The company name. For example: {'John Doe Inc.'}

#### On Failure

If the user is not logged in: {'error':not logged in'}

If there is no company name found: 'UNKNOWN'
