I can start with simple example,
User 'A' have to play multiple roles such as Manager, Team leader, and developer under the single sign in. By default, I am a manager when I am logging in, but I should be able to switch my role to team leader role and see the respective content with very minimal click.
I would suggest going with tab UI to switch role option rather than having drop-down at the right top corner such as Gmail account switch option. Is this efficient way of approach or any UX flaws in it? Any suggestions?