isAdminMode

To return Yes (true) if the edit mode is active

With this function, you'll find out if the current user is in edit mode, i.e. the wrench icon is activated (red).

Syntax

isAdminMode()

Return

boolean

Examples

isAdminMode()

Result: Yes (true) if you activated the wrench icon to edit your database

See also

isDatabaseLocked, which returns Yes (true) if the database is locked.

isDatabaseProtected, which returns Yes (true) if the database is protected by a password.

userIsAdmin, which returns Yes (true) if the current user has the admin role.

Last updated