Jake, isn't @Contains("[Admin]"; @UserRoles) logically the wrong way around?
The help calls the first parameter the string you want to search. (I do realize
that becasue of the ways Notes handles lists it should work both ways.)
2nd question: Why do you use @contains instead of @ismember? While unlikely in
this context, @contains can trigger a false positive with a partial match,
whereas @ismember won't.
Jake, isn't @Contains("[Admin]"; @UserRoles) logically the wrong way around? The help calls the first parameter the string you want to search. (I do realize that becasue of the ways Notes handles lists it should work both ways.)
2nd question: Why do you use @contains instead of @ismember? While unlikely in this context, @contains can trigger a false positive with a partial match, whereas @ismember won't.