I would like to know how the application coolbar text could be modified dynamically .
We are developing an application where in User A can Login for User B .
Workflow wise user A logs in on screen 1 first and if he has a privilege to login for another user , he can select that user on screen 2 and see the data created by user .

On Application coolbar we currently display user name of user who logs in on screen 1 .Now is it possible to display 'User A for User B' on coolbar once the user selection is done on screen 2 ?