Domino Code Fragment

Code Name*
Can you have views based on the current user name?
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.18.188.61.223
Description*
Can you have views based on the current user name?
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Warning: This is extremely server intensive since it will cause the server to rebuild the view each time a user looks at it!
Files/Graphics attachments (if applicable): Code:
In the Advanced tab of the view properties, set Refresh Index to "Automatic" and
Discard Index to "After each use".

In the selection formula for the view, select only documents which the current user
can read. E.g.,

@IsMember(@UserName; ReaderList)

You cannot hide the categories that are not for the reader, so you should use an
uncategorized view.