Deprecated.
From version 5.4.019 this editable procedure will not be called automatically. Instead of using it, you write your own procedure and put the name of the procedure in the application variable "ImpersonationProcedure".
You can edit this procedure to grant non-admins access to the dropdown for impersonating users shown underneath the logotype.
The resultset will populate the dropdown with users.