Addressbook.personFromVCardTextRepresentation
---------------------------------------------

Creates an Person instance initialized with the given text.

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

### Deprecated

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

MBS( "Addressbook.personFromVCardTextRepresentation"; vcard ) 

**MBS**( **"Addressbook.personFromVCardTextRepresentation";** /\* Creates an Person instance initialized with the given text. \*/  
**$vcard**) /\* The vcard as text. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| vcard | The vcard as text. | $vcard |

### Result

Returns person identifier or error.

### Description

Creates an Person instance initialized with the given text.  
Version 2.1 and 3.0 of the vCard format are supported.  
You still need to add this person to the database and save changes.  
Please use [Addressbook.personFromVCardRepresentation](AddressbookpersonFromVCardRepresentation.md) if you have vcard as file in container.  
### See also

- [Addressbook.person.vCardRepresentation](AddressbookpersonvCardRepresentation.md)
- [Addressbook.personFromVCardRepresentation](AddressbookpersonFromVCardRepresentation.md)

This function checks for a license.

Created 18th August 2014 , last changed 9th November 2021

  
[Addressbook.personFromVCardRepresentation](AddressbookpersonFromVCardRepresentation.md) - [Addressbook.record.SetValueForProperty](AddressbookrecordSetValueForProperty.md)

[HTML Version](AddressbookpersonFromVCardTextRepresentation.shtml)