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.
isDatabaseProtected()
boolean
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)
Last modified 10mo ago