FORMULA LANGUAGE
Examples: @UserRoles
1. This example displays the roles assigned to the current user. The roles are displayed in brackets.
@UserRoles
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.
@Command([Compose];"";@If(@IsMember("[Manager]";@UserRoles);"Manager";
"Employee"))
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.
@If(@IsMember("$$WebClient"; @UserRoles); "WebSubform"; "NotesSubform")
See Also
@UserRoles
Glossary
Feedback on
Help
or
Product Usability
?
Help on Help
All Help Contents
Glossary