Role

Returns the name of a role assigned to a user.

Variants

Role()

Returns the name of a role assigned to the user currently accessing the database.

Returns

Text

Examples

Role(User user)

Returns the name of a role assigned to the user.

Parameters

user
The user to check.

Returns

Text

Examples