Role assigned to user
The event is created when a role is assigned to a user.
Parameter | Type | Description |
---|---|---|
name | string | user.role.assigned |
description | string | Role assigned to user |
user.id | string | The ID of the user |
user.languageCode | string | The language of the user |
user.loginId | string | The login ID of the user |
user.firstName | string | The first name of the user |
user.lastName | string | The last name of the user |
user.state | string | The state of the user |
user.properties | object | The custom properties the user |
role.id | string | The ID of the role |
role.name | string | The name of the role |
role.description | string | The description of the role |
Example event
{
"actor": {
"loginId": "[email protected]",
"userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.0.0 Safari/537.36",
"id": "78f89c75-8223-4546-a8ac-0ff9f233c6ee",
"type": "admin"
},
"eventId": "503b59b0-e4fe-11ed-a80a-6045bd918c2c",
"role": {
"name": "User",
"description": "User role",
"id": "d576397a-b6cf-4cfa-82f9-faaa24ee4e1f"
},
"name": "user.role.assigned",
"description": "Role assigned to user",
"user": {
"firstName": "Abigail",
"lastName": "Mackay",
"loginId": "[email protected]",
"id": "1a8123d6-c57f-4f86-a7a7-6d2f60efe42c",
"state": "active",
"languageCode": "en"
},
"timestamp": "2023-04-27T13:20:18.05Z",
"status": "succeeded"
}