isDatabaseProtected

To return Yes (true) if a password is needed to enable edit mode

Check if enabling edit mode in a database requires a password.

Syntax

isDatabaseProtected()

Return

boolean

Examples

isDatabaseProtected()

Result: Yes (true) if the database is protected by a password

if isDatabaseProtected() then 
    "The edit mode requires a password!"
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.

Last updated