FORMULA LANGUAGE


@UserRoles
Example

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.

Syntax

@UserRoles

Return value

roles


Usage

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.

Language cross-reference

Roles property of LotusScript NotesACLEntry class

Roles property of Java ACLEntry class

Example
See Also