Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Addressbook.searchPeopleWithName
Searches people matching the first and/or last name.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Addressbook | 3.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Deprecated
This function was deprecated. Use Contacts functions instead.
MBS( "Addressbook.searchPeopleWithName" { ; FirstName; LastName } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
FirstName | The first name or search for. Can be empty to search only for last name. |
"Christian" | Optional |
LastName | The last name or search for. Can be empty to search only for first name. |
"Schmitz" | Optional |
Result
Returns list of all person IDs.
Description
Searches people matching the first and/or last name.This search is case insensitive.
Examples
Search for Peter Miller:
MBS( "Addressbook.searchPeopleWithName"; "Peter"; "Miller" )
Search for Peter only:
MBS( "Addressbook.searchPeopleWithName"; "Peter"; "" )
See also
- Addressbook.multivalue.replaceValueAtIndex
- Addressbook.record.valueForProperty
- Addressbook.searchGroupsWithName
- Addressbook.searchPeopleWithEmail
Blog Entries
This function is free to use.
Created 18th August 2014, last changed 14th July 2022
Addressbook.searchPeopleWithModificationDate - Addressbook.searchPersonWithExternalUID