Search…
⌃K
Links

isDatabaseProtected

To return Yes (true) if a password is needed to activate the edit mode
Check out if activating the edit mode in a database requires a password.

Syntax

isDatabaseProtected()

Return

boolean

Examples

1
isDatabaseProtected()
Result: Yes (true) if the database is protected by a password
1
if isDatabaseProtected() then
2
"The edit mode requires a password!"
3
end
Add the above script in a formula field and you'll get the following result.
Result: The edit mode requires a password! (if the edit mode in a database is password protected)

See also

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