13.9. Programming considerations
Domino provides several @ functions that help you control application behavior based on the user, or on the client type. We discuss the following functions:
@UserRoles: returns a list of roles for the current user.
@UserName: returns the user name or server name.
@ClientType: returns a text string to differentiate Notes and Web clients.
@UserNamesList: returns a text list containing the current user name, any group names, and any roles.
This information is also available from LotusScript, but these are mostly used in formula context, especially in hide formulas.
13.9.1. Using @UserRoles
Use @UserRoles in formulas to either:
Determine what to do for a particular set of users, without needing to hard code user names ...
Get Domino Designer 6: A Developer’s Handbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.