CFPreferences for another (or all) users
Posted
by James Turner
on Stack Overflow
See other posts from Stack Overflow
or by James Turner
Published on 2010-05-27T09:16:53Z
Indexed on
2010/05/27
9:21 UTC
Read the original article
Hit count: 250
I'm working on a background service which needs to ask several users' iTunes settings (the users will opt-in via a helper application which they run from their login). Is there an easy way to read the preferences for another user, than the current one, using CFPreferences? The docs, for example for CFPreferencesCopyValue, explicitly state: 'Do not use arbitrary user and host names, instead pass the pre-defined domain qualifier constants.', when passing the 'userName' argument to the various functions.
© Stack Overflow or respective owner