# getUserInformation

This method returns basic information about the current user.

## Parameters

| Name        | Type     | Required | Description                                |
| ----------- | -------- | -------- | ------------------------------------------ |
| cortexToken | `string` | yes      | A token returned by [authorize](authorize) |

## 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 %}
