For a database on a server or a local replicated database, returns a list of roles that the current user has. Roles are defined in a database's access control list.
@UserRoles
roles
Text list. Each item in the list is the name of a role that the current user has in the current database. The role names are enclosed in brackets. Returns an empty string ("") if the current database is local and not a replication.
This function does not work in column, selection, mail agent, or scheduled agent formulas.
Only roles explicitly assigned to the current user are returned. Roles assigned to a group which includes the current user are not returned.
@UserRoles appends $$WebClient to the list of roles when a Web user opens a database.
@UserRoles returns a subset of the information returned by @UserNamesList.
@UserRoles
@Command([Compose];"";@If(@IsMember("[Manager]";@UserRoles);"Manager";
"Employee"))
@If(@IsMember("$$WebClient"; @UserRoles); "WebSubform"; "NotesSubform")
Roles property of LotusScript® NotesACLEntry class
Roles property of Java™ ACLEntry class