For a database on a server or a local database with "Enforce a consistent Access Control List across all replicas" in effect, returns a list of roles that the current user has. Roles are defined in a database's access control list.
Syntax
@UserRoles
Return value
roles
This function does not work in column, selection, mail agent, or scheduled agent formulas.
Choose File - Database - Access Control, Advanced to set "Enforce a consistent Access Control List across all replicas."
@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.
Language cross-reference
Roles property of LotusScript NotesACLEntry class
Roles property of Java ACLEntry class
Example See Also