getUserInformation
This method returns basic information about the current user.
Name | Type | Required | Description |
cortexToken | string | yes |
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 |
Request
Response
{
"id": 1,
"jsonrpc": "2.0",
"method": "getUserInformation",
"params": {
"cortexToken": "xxx"
}
}
{
"id": 1,
"jsonrpc": "2.0",
"result": {
"username": "jon.snow",
"firstName": "Jon",
"lastName": "Snow",
"licenseAgreement": {
"accepted": true,
"licenseUrl": "https://..."
}
}
}
Last modified 4yr ago