Keychain.ListAccounts
---------------------

Lists the accounts for a database.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Keychain](component_Keychain.md) | [8.4](newinversion84.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "Keychain.ListAccounts"; Location ) 

**MBS**( **"Keychain.ListAccounts";** /\* Lists the accounts for a database. \*/  
**$Location**) /\* The location where the database is.  
Must be prefixed with FMP.  
e.g. "FMP: " or "FMPADMIN: " followed with the name or IP.e.g. "FMPADMIN: mbs.test.ifmcloud.com" \*/ 

### Parameters

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

### Result

Returns OK or error.

### Description

Lists the accounts for a database.  
### Examples

Lists my accounts in Cloud:

 MBS ("Keychain.ListAccounts"; "FMPADMIN: monkeybread.fmi.filemaker-cloud.com")  
This function checks for a license.

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

  
[Keychain.FindGenericPassword](KeychainFindGenericPassword.md) - [Keychain.ListDatabases](KeychainListDatabases.md)

[HTML Version](KeychainListAccounts.shtml)