Some Clients want Developer to hide some items in Upper right Corner Welcome Dropdown in Sharepoint.
In Order to achive this i have used Jquery.
For testing i have added jquery in CQWP on only one page but if you want to get this working in whole portal meaning
from all pages you need to add this script in master page.
I have Welcome Dropdown like this
You want to hide ‘Sign in as Different User’.
here is single line of script for that
here is Output