Manage Learn to apply best practices and optimize your operations.

Check The Userroles From Script

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
Evaluate function
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
exit function
End If
End Forall
End Function

Dig Deeper on Domino Resources - Part 3

SearchWindowsServer

Search400

  • Favorite iSeries cheat sheets

    Here you'll find a collection of valuable cheat sheets gathered from across the iSeries/Search400.com community. These cheat ...

  • HTML cheat sheet

    This is a really cool cheat sheet if you're looking to learn more about HTML. You'll find just about everything you every wanted ...

  • Carol Woodbury: Security

    Carol Woodbury

SearchDataCenter

SearchContentManagement

Close