Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Keychain.AddPassword
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
Parameters
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. |
"FMPADMIN: mbs.test.ifmcloud.com" |
UserName | The user name. | "Admin" |
Password | The password to store. | "HelloWorld" |
Result
Returns OK or error.
Description
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.
Examples
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
