Domino Code Fragment

Code Name*
Evaluate to determine a users role.
Date*
04/28/2024
Source (or email address if you prefer)*
Rlatulippe@romac.com
IP address:.13.58.247.31
Description*
Use evaluate to determine users role and only then execute block of code.
Type*
LotusScript
Categories*
(Misc)
Implementation:
Required Client:
Server:
Limitations:
Comments:
Files/Graphics attachments (if applicable): Code:

Sub Initialise
Dim The Role As Variant
Dim parameter As String
Parameter = Evaluate( |@IsMember("Special"; @UserRoles) |)
TheRole = Evaluate(Parameter)
If (TheRole(0) = 1) Then
<..... Your Code .....>
End If
End Sub