Addressbook.person.SetImage
---------------------------

Sets the image for this person to the given image.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Addressbook](component_Addressbook.md) | [3.1](newinversion31.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

### Deprecated

This function was [deprecated](deprecated.md). Use [Contacts](component_Contacts.md) functions instead.

MBS( "Addressbook.person.SetImage"; PersonID; Image ) 

**MBS**( **"Addressbook.person.SetImage";** /\* Sets the image for this person to the given image. \*/  
**$PersonID**; /\* The unique ID for the target person. \*/   
**$Image**) /\* The image to you. Pass a container value with JPEG, TIFF, PNG or other image formats. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| PersonID | The unique ID for the target person. | $personID |
| Image | The image to you. Pass a container value with JPEG, TIFF, PNG or other image formats. | $image |

### Result

Returns OK on success.

### Description

Sets the image for this person to the given image.  
### See also

- [Addressbook.person.GetImage](AddressbookpersonGetImage.md)

This function checks for a license.

Created 18th August 2014 , last changed 18th August 2014

  
[Addressbook.person.SetBirthdayComponents](AddressbookpersonSetBirthdayComponents.md) - [Addressbook.person.ShowInAddressbook](AddressbookpersonShowInAddressbook.md)

[HTML Version](AddressbookpersonSetImage.shtml)