Preferences.List
----------------

Lists keys for preferences.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Preferences](component_Preferences.md) | [12.0](newinversion120.md) | ✅ Yes | ✅ Yes | ❌ No | ✅ Yes, on macOS and Windows | ✅ Yes |

MBS( "Preferences.List"; Domain ) 

**MBS**( **"Preferences.List";** /\* Lists keys for preferences. \*/  
**$Domain**) /\* The domain name for your preferences. Leave empty for default one.e.g. "de.mbsplugins.MyApp" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Domain | The domain name for your preferences. Leave empty for default one. | "de.mbsplugins.MyApp" |

### Result

Returns list or error.

### Description

Lists keys for preferences.  
Can be useful to discover what keys are available.  
You may be limited by macOS/iOS on what preferences files from other applications you can inspect.  
  
Windows version reads into Registry what we write with [Preferences.SetValue](PreferencesSetValue.md).  
### Examples

List preferences for FileMaker on macOS:

 MBS ("Preferences.list";"com.filemaker.client.advanced12")  
List preferences:

 MBS ( "Preferences.List“; "de.mbsplugins.MyApp“)  
### See also

- [Preferences.SetValue](PreferencesSetValue.md)

### Release notes

- **Version 12.0**
    - Added [Preferences.List](https://www.mbsplugins.eu/PreferencesList.shtml) function.

### Blog Entries

- [Neues MBS FileMaker Plugin 12.0](https://www.mbsplugins.de/archive/2022-01-18/Neues_MBS_FileMaker_Plugin_120/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin 12.0 - More than 6700 Functions In One Plugin](https://www.mbsplugins.de/archive/2022-01-18/MBS_FileMaker_Plugin_120_-_Mor/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.0pr8](https://www.mbsplugins.de/archive/2022-01-14/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 10th January 2022 , last changed 11st January 2022

  
[Preferences.HasValue](PreferencesHasValue.md) - [Preferences.SetTextSelectionWithDragAndDrop](PreferencesSetTextSelectionWithDragAndDrop.md)

[HTML Version](PreferencesList.shtml)