You can't check the users roles from standard Lotus Script - but it's easy if
you use the @UserRoles function. All @Functions can be calculated with the
Public Function hasRole( Role As String ) As Integer
'Function returns true if the current user has the [role] 'Role'
Dim userroles As Variant
hasRole = False
UserRoles = Evaluate( "@userroles" )
Forall entry In UserRoles
If entry = Role Then
hasRole = True
By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.