In a Navigator, it is not possible to hide an option if the user does have rights to access based on the user roles. It is therefore good to control the execution of this option with the underlying LotusScript.
Code: Sub Click(Source As Button) Dim URoles As Variant URole = Evaluate("@UserRoles") MyRole = "" Forall ur In URole If ur = "[DbAdmin]" Then MyRole = "DbAdmin" Goto NextStep End If End Forall NextStep: If MyRoles = "DbAdmin" Then Put your codes here.... Else Beep Msgbox "You are not authorised to access this option.", 64, "Not Authorised" End If End Sub
This was first published in January 2001