Impersonation_End EventΒΆ
Impersonation_End is posted when someone finishes impersonating another user. The actor is the impersonator, and the object is the person who was being impersonated. The event object has the following form:
{
"id": "<EventUUID>",
"timestamp": "<UTCDateTimeString>",
"actor": {
"account": {
"homePage": "https://<TenantUUID>.lms.d2l.com/",
"name": "urn:uuid:<ImpersonatorUUID>"
}
},
"verb": {
"id": "https://api.brightspace.com/xapi/verbs/impersonation_ended"
},
"object": {
"objectType": "Activity",
"id": "urn:uuid:<ImpersonatedUserUUID>",
"definition": {
"type": "https://api.brightspace.com/xapi/activities/users/impersonation"
}
},
"context": {
"contextActivities": {
"category": [
{
"id": "https://api.brightspace.com/xapi/profiles/brightspace-activity-v1p0.jsonld"
}
]
},
"registration": "<OrgUnitUUID>",
"extensions": {
"https://api.brightspace.com/xapi/extension_keys/context/actor": {
"userId": "<BrightspaceUserIdNumberForImpersonator>",
"roleId": "<BrightspaceRoleIdNumberForImpersonator>"
},
"https://api.brightspace.com/xapi/extension_keys/context/object": {
"id": "<BrightspaceUserIdNumberForImpersonatedUser>"
},
"https://api.brightspace.com/xapi/extension_keys/context/context": {
"tenantId": "<TenantUUID>",
"originalEventId": "<InternalEventUUID>",
"orgUnitId": "<BrightspaceOrgUnitIdNumber>",
"orgUnitTypeId": "<BrightspaceOrgUnitTypeIdNumber",
"imsRoleIds": [ <IMSRoles> ]
}
}
}
}
Notes:
- <OrgUnitUUID>
a unique identifier for the OrgUnit.
- orgUnitTypeId
only present if the OrgUnit has been assigned a type ID number.
- originalEventId
only provided for use by D2L personnel if needed for troubleshooting.
See Fundamental xAPI Concepts for information on other fields.