Manage Learn to apply best practices and optimize your operations.

Use Nab Group To Hide/Show Buttons

This formula can be used to Hide a button from all users that are not in a
specific group. Perhaps all users have the same Access, Editor with Delete
Rights, but you want only a few users to also see a button that performs an
administrative task.

In this example this code is place in the Hide When formula of a button and
only users that are members of the Managers, Directors or Systems Groups will
be able to see it. (NOTE: Remember to include the group that your notes
developers and administrators are in.)

Also note that remote users would need a local replica of the NAB.
REM "User must be in the 'Managers', 'Directors', or 'Systems' Groups to see
this button";
REM "LookupID is for your companies Name and Address Book";
LookupId := "84927645D:849D378EE";
users := @Name([CN];@DbLookup
("":"NoCache";LookupId;"Groups";"Managers":"Directors":"Systems";"Members")) ;
@IsNotMember(@Name([CN];@UserName); users )

Dig Deeper on Lotus Notes Domino Administration Tools

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.




  • iSeries tutorials's tutorials provide in-depth information on the iSeries. Our iSeries tutorials address areas you need to know about...

  • V6R1 upgrade planning checklist

    When upgrading to V6R1, make sure your software will be supported, your programs will function and the correct PTFs have been ...

  • Connecting multiple iSeries systems through DDM

    Working with databases over multiple iSeries systems can be simple when remotely connecting logical partitions with distributed ...