Domino Code Fragment

Code Name*
Hide When formula
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.3.19.27.178
Description*
This code will hide a field (etc) if the user doesn't have delete rights. Slight modification will allow a hide for users with out edit rights. This might be good to hide the "Edit" button when the user doesn't have edit rights.
Type*
Formula
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:
[Hide/When Formula]
var01 := @Implode(@UserAccess( @DbName ));
!@Contains(@UserRoles ; "$$WebClient") | (@Right(var01;1) = "0")