> For the complete documentation index, see [llms.txt](https://emotiv.gitbook.io/cortex-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://emotiv.gitbook.io/cortex-api/authentication/getuserinformation.md).

# getUserInformation

This method returns basic information about the current user.

## Parameters

| Name        | Type     | Required | Description                                                              |
| ----------- | -------- | -------- | ------------------------------------------------------------------------ |
| cortexToken | `string` | yes      | A token returned by [authorize](/cortex-api/authentication/authorize.md) |

## Result

The result is an object containing basic information about the user.

| Name             | Type     | Description                                                 |
| ---------------- | -------- | ----------------------------------------------------------- |
| username         | `string` | The EmotivID of the user                                    |
| firstName        | `string` | The first name of the user                                  |
| lastName         | `string` | The last name of the user                                   |
| licenseAgreement | `object` | An object that contain information about the EULA agreement |

## Examples

{% tabs %}
{% tab title="Request" %}

```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "getUserInformation",
    "params": {
        "cortexToken": "xxx"
    }
}
```

{% endtab %}

{% tab title="Response" %}

```javascript
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": {
        "username": "jon.snow",
        "firstName": "Jon",
        "lastName": "Snow",
        "licenseAgreement": {
            "accepted": true,
            "licenseUrl": "https://..."
        }
    }
}
```

{% endtab %}
{% endtabs %}
