isAdminMode
To return Yes (true) if the edit mode is active
Last updated
To return Yes (true) if the edit mode is active
Last updated
With this function, you'll find out if the current user is in edit mode, i.e. the wrench icon is activated (red).
isAdminMode()
boolean
Result: Yes (true
) if you activated the wrench icon to edit your database
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.