Visibility depending on login user level

Visibility depending on login user level

Please can anyone tell me how I can make an item visible on screen dependent on user login level?
For example, I may need to display something only if the user is logged in at level 1, or only if the user is not logged in at all. I can't find a way to create the correct variable which represents either the current user group or user level, which I can then link to the Visibility of the item on screen.

This is a migrated post! Originally posted on 24.03.2014 by user mjackson. Please be aware that information can be outdated.