LDAP.SetBinaryKeys
------------------

Sets which attributes should be handled as binary data.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [LDAP](component_LDAP.md) | [12.5](newinversion125.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ❌ No |

MBS( "LDAP.SetBinaryKeys"; List ) 

**MBS**( **"LDAP.SetBinaryKeys";** /\* Sets which attributes should be handled as binary data. \*/  
**$List**) /\* The list of keys to treat as binary.e.g. "thumbnailPhoto¶objectSid" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| List | The list of keys to treat as binary. | "thumbnailPhoto¶objectSid" |

### Result

Returns OK or error.

### Description

Sets which attributes should be handled as binary data.  
Default list is empty.  
By default we handle attributes ending in name with uuid or guid as binary.  
### Examples

Set list:

 Set Variable \[ $r ; Value: MBS ( "LDAP.SetBinaryKeys"; "thumbnailPhoto¶objectSid" ) \]  
### See also

- [LDAP.GetBinaryKeys](LDAPGetBinaryKeys.md)
- [LDAP.JSON](LDAPJSON.md)
- [LDAP.SearchResult.AttributeValue](LDAPSearchResultAttributeValue.md)
- [LDAP.SearchResult.AttributeValues](LDAPSearchResultAttributeValues.md)

### Release notes

- **Version 12.5**
    - Added [LDAP.SetBinaryKeys](https://www.mbsplugins.eu/LDAPSetBinaryKeys.shtml) and [LDAP.GetBinaryKeys](https://www.mbsplugins.eu/LDAPGetBinaryKeys.shtml) functions.

### Blog Entries

- [MBS FileMaker Plugin 12.5 News](https://www.mbsplugins.de/archive/2022-11-17/MBS_FileMaker_Plugin_125_News/monkeybreadsoftware_blog_filemaker)
- [Neues MBS Plugin 12.5 für Claris FileMaker](https://www.mbsplugins.de/archive/2022-11-08/Neues_MBS_Plugin_125_für_Clar/monkeybreadsoftware_blog_filemaker)
- [MBS Plugin 12.5 for Claris FileMaker - More than 6800 Functions In One Plugin](https://www.mbsplugins.de/archive/2022-11-08/MBS_Plugin_125_for_Claris_File/monkeybreadsoftware_blog_filemaker)
- [MBS FileMaker Plugin, version 12.5pr7](https://www.mbsplugins.de/archive/2022-11-04/MBS_FileMaker_Plugin_version_1/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 2nd November 2022 , last changed 2nd November 2022

  
[LDAP.SearchResult.DistinguishedName](LDAPSearchResultDistinguishedName.md) - [LDAP.SetNetworkTimeOut](LDAPSetNetworkTimeOut.md)

[HTML Version](LDAPSetBinaryKeys.shtml)