You can obtain a list of who has impersonated other users, as well as the reason for the impersonation (if added), in two ways:
Searching in DDA
select created, reason, u1.user_id, u2.user_id from sessions_impersonated inner join users u1 on sessions_impersonated.impersonator_pk1 = u1.pk1 inner join users u2 on sessions_impersonated.impersonated_pk1 = u2.pk1 order by created desc;
Using the API
Using the API with this endpoint, you can also get the list of impersonations. Remember that the results are paginated:
https://miservidor.com/learn/api/public/v1/loginAs/sessions
Comments
0 comments
Please sign in to leave a comment.