Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.multivalue.labelForIdentifier
Returns the label for the given identifier.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.multivalue.labelForIdentifier"; identifier ) More
Parameters
Parameter | Description | Example |
---|---|---|
identifier | The identifier for the label to be returned. | $identifier |
Result
Returns label or error.
Description
Returns the label for the given identifier.If the identifier is not found, this method returns "".
Available in OS X v10.5 and later.
Possible labels are:
kABHomePageLabel, kABEmailWorkLabel, kABEmailHomeLabel, kABAddressHomeLabel, kABAddressWorkLabel, kABAnniversaryLabel, kABFatherLabel, kABMotherLabel, kABParentLabel, kABBrotherLabel, kABSisterLabel, kABChildLabel, kABFriendLabel, kABSpouseLabel, kABPartnerLabel, kABAssistantLabel, kABManagerLabel, kABPhoneWorkLabel, kABPhoneHomeLabel, kABPhoneiPhoneLabel, kABPhoneMobileLabel, kABPhoneMainLabel, kABPhoneHomeFAXLabel, kABPhoneWorkFAXLabel, kABPhonePagerLabel, kABAIMWorkLabel, kABAIMHomeLabel, kABJabberWorkLabel, kABJabberHomeLabel, kABMSNWorkLabel, kABMSNHomeLabel, kABYahooWorkLabel, kABYahooHomeLabel, kABICQWorkLabel, kABICQHomeLabel, kABWorkLabel, kABHomeLabel, kABOtherLabel or kABMobileMeLabel.
See also
- Addressbook.multivalue.identifiers
- Addressbook.multivalue.indexForIdentifier
- Addressbook.multivalue.labelAtIndex
- Addressbook.multivalue.primaryIdentifier
- Addressbook.multivalue.setPrimaryIdentifier
- Addressbook.multivalue.valueForIdentifier
This function checks for a license.
Created 18th August 2014, last changed 18th August 2014
Addressbook.multivalue.labelAtIndex - Addressbook.multivalue.labels