The functions
CFPreferencesSetAppValue
and
CFPreferencesGetAppValue
are the most straightforward way for an application to create and retrieve preferences. The preference data is written to the default domain (current user, current application, any host) and so it is available on all machines the user can log in to.