Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

CNContactStore.SetTransactionAuthor

Set the author of transactions.

Component Version macOS Windows Linux Server iOS SDK
Contacts 15.1 ✅ Yes ❌ No ❌ No ❌ No ✅ Yes
MBS( "CNContactStore.SetTransactionAuthor"; TransactionAuthor )   More

Parameters

Parameter Description Example
TransactionAuthor The author to use. "de.monkeybreadsoftware.test"

Result

Returns OK or error.

Description

Set the author of transactions.
We pass this author to future transactions.

Use this, in conjunction with excludedTransactionAuthor parameter in CNContactStore.ChangeHistory, to suppress fetching of changes the author already knows about.

Examples

Set transaction author to be a given bundle identifier:

Set Variable [$r; Value: MBS( "CNContactStore.SetTransactionAuthor"; "de.monkeybreadsoftware.test" ) ]

See also

Release notes

Blog Entries

This function is free to use.

Created 5th March 2025, last changed 8th March 2025


CNContactStore.SetChangeScript - CNContactStore.Subgroups