thanks a billion :) Works like a charm! I would have had no idea where to start. Just a single line!
Would you know how to add it to the same menu as you add your "Switch Back" too? Just so the admin bar does not get so cluttered. You don't need to code it for me and to be honest it is not that crucial. But I assume it would be simple enough and just completes the add on for your plugin nicely.
BTW: is there a way to get rid of the "?user_switched=true" and "?user_switched=true&switched_back=true" at the end of the url when switching and switching back? Again, not at all crucial, but I was thinking of maybe trying to implement user switching on the front end for users (I will have "individual" users, that can create an "office" user and manage that, so they are linked together and should be able to simply switch between them) and then the url should be "clean".
Obviously I would remove the second "Switch Back" link. But as said, I can do that. I can code a little, but some things are just over my head still.
And don't worry, if you don't want to get your head full of this at all. I feel like you gave me your little finger and I am grabbing your whole hand (it's a German saying - no idea how to translate it right now).