We have a requirement in which we wish to hide a group (say My Group1 Grp) , so that it won’t get resolved on To/cc/Bcc from all users expect 4 users who are from senior management.
Also, all users including the 4 users added as exception should be able to send mail to thisgroup.
I tried putting reader field through code with 4 exception user id’s along with LocalDomainServers and LocalDomainAdmins, but users not mentioned in reader, if try to send mail , the same is getting bounced back.
You can set restriction in specific group using document properties , instead of using agent.
*
Open the Domino Directory
From the Groups view, highlight the specific group that should be hidden.
Right-click and select Document Properties.
On the Security (key) tab, uncheck “All readers and above.”
Place a check mark next to any users who should see the Group document. Users not selected will be unable to see that particular group in the Groups view.Select these 4 users along with LocalDomainServers and LocalDomainAdmins as reader of this document.
From a Notes client, a user who does not have permission to use the group receives an error when attempting to send mail to the restricted group.
Reader fields will hide the group from showing up in the To and CC etc and also the view
If you want user to still be able to send mail however you will need to revert back to Domino 6 days.