Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old


Adds a password to keychain.

Component Version macOS Windows Linux Server iOS SDK
Keychain 8.4 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "Keychain.AddPassword"; Name; Location; Username; Password )   More


Parameter Description Example
Name The name of the entry. "MyDatabase"
Location The location where the database is.
Must be prefixed with FMP.
e.g. "FMP: " or "FMPADMIN: " followed with the name or IP.
Username The user name. "Admin"
Password The password to store. "HelloWorld"


Returns OK or error.


Adds a password to keychain.
Only if FileMaker you provide correct entries for FileMaker, it will find the entry.
So please check what FileMaker writes for your entry there.


Add a new password:

MBS("Keychain.AddPassword"; "Anlagen"; "FMP: Anlagen"; "Admin"; "HelloWorld")

See also

This function checks for a license.

Created 25th August 2018, last changed 26th August 2018

JavaScript.SetPropertyJSON - Keychain.DeletePassword