Search…
⌃K
Links

userIsAdmin

To return Yes (true) if the current user has the admin role
With this function, you can check if the current user's role is admin, that is, if they have admin rights.
Adding this function to Display only, if the respective field is only visible to users with an admin role.

Syntax

userIsAdmin()

Return

boolean

Examples

1
userIsAdmin()
Result: Yes (true) (if the current user has admin rights)

See also

​userRole, which returns the role of a user.
Last modified 1mo ago