Component Visibility based on User Login

I am trying to make a seperate Navigation Tab that is visible only when an administrator is logged in. Any suggestions?

Well, you can bind the visible property of the component to the following expression:lookup({[System]Client/User/RolesDataSet}, "Administrator", "", 0, 0) = "Administrator"That will check to see if the current user that is logged in has the Administrator role.

If you are looking to open a window on startup based on who is logged in you can have the following Global Event Startup Script (Client):if "Administrator" in system.security.getRoles(): system.nav.openWindow("NavigationWindow")Hope this helps.