Addressbook.Record.Account
--------------------------

Queries account identifier for record.

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

### Deprecated

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

MBS( "Addressbook.Record.Account"; RecordID ) 

**MBS**( **"Addressbook.Record.Account";** /\* Queries account identifier for record. \*/  
**$RecordID**) /\* The unique ID for the target person or group.e.g. $personID \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| RecordID | The unique ID for the target person or group. | $personID |

### Result

Returns account identifier or error.

### Description

Queries account identifier for record.  
### Examples

Query account for me:

 MBS ( "Addressbook.Record.Account"; MBS ( "[Addressbook.me](Addressbookme.md)" ) )  
Query account name for me:

 MBS ( "[Addressbook.Account.Name](AddressbookAccountName.md)"; MBS ( "Addressbook.Record.Account"; MBS ( "[Addressbook.me](Addressbookme.md)" )))  
### See also

- [Addressbook.Account.Name](AddressbookAccountName.md)
- [Addressbook.defaultAccount](AddressbookdefaultAccount.md)
- [Addressbook.me](Addressbookme.md)

This function is free to use.

Created 17th March 2016 , last changed 17th March 2016

  
[Addressbook.Notification.Set](AddressbookNotificationSet.md) - [Addressbook.addRecord](AddressbookaddRecord.md)

[HTML Version](AddressbookRecordAccount.shtml)