Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5    Statistic  

Keychain.AddPassword

Adds a password to keychain.

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

Parameters

Parameter Description Example value
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

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


JavaScript.SetProperty   -   Keychain.DeletePassword

Feedback: Report problem or ask question.




Links
MBS Xojo PDF Plugins