Skip to main content

Role assigned to user

The event is created when a role is assigned to a user.

ParameterTypeDescription
namestringuser.role.assigned
descriptionstringRole assigned to user
user.idstringThe ID of the user
user.languageCodestringThe language of the user
user.loginIdstringThe login ID of the user
user.firstNamestringThe first name of the user
user.lastNamestringThe last name of the user
user.statestringThe state of the user
user.propertiesobjectThe custom properties the user
role.idstringThe ID of the role
role.namestringThe name of the role
role.descriptionstringThe 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"
}