LOCAL lcUserLevel lcUserLevel = oApp.GetUserLevel() =oApp.Login() IF oApp.GetUserLevel() <> lcUserLevel oApp.DoMenu() ENDIF