FORMULA LANGUAGE


Examples: @UserRoles
1. This example displays the roles assigned to the current user. The roles are displayed in brackets.
2. This code, if added to the New Document action button of a database that has the Enforce a consistent ACL across all replicas checkbox selected on the Advanced tab of the ACL Properties box, opens the Manager form if the [Manager] role is assigned to the current user; otherwise it open the Employee form in a Notes application.
3. This subform formula selects a different subform depending on whether the user is a Web client or not. The WebClient role is a role that is automatically created by Lotus Notes/Domino; it does not require the surrounding brackets, but does require the leading double dollar signs.
See Also