I have a form with an ‘Approve’ button. I want this button to hide if the person signed in is not a member of the group ‘Approvers.’ This groups is declared within the ACL.
Subject: RE: Accessing/Reading members of a group within the ACL.
You seem to be confusing groups and roles. Did you create a role called Approvers in the database ACL, or is it actually an address book group (if the latter, not a very good name choice!)?Is this taking place in a server or local replica? If a local replica, is the “Enforce a consistent access control list” option enabled?
Often, you must close and reopen the application to get role membership changes to take effect.
I have a custom toolbar button defined with the following formula:
so that I can see what my Notes client thinks my current roles are in a database. Always check your inputs. The best formula in the world will not work correctly if you give it the wrong data to work on.
Do not use @Contains as others have suggested. @IsMember or = is the correct choice. You don’t want to search for substrings.