Function

CFPreferencesCopyApplicationList

Constructs and returns the list of all applications that have preferences in the scope of the specified user and host.

Declaration

CFArrayRef CFPreferencesCopyApplicationList(CFStringRef userName, CFStringRef hostName);

Parameters

userName

kCFPreferencesCurrentUser to search the current-user domain, otherwise kCFPreferencesAnyUser to search the any-user domain.

hostName

kCFPreferencesCurrentHost to search the current-host domain, otherwise kCFPreferencesAnyHost to search the any-host domain.

Return Value

The list of application IDs. Ownership follows the The Create Rule.

See Also

Miscellaneous Functions

CFPreferencesAppValueIsForced

Determines whether or not a given key has been imposed on the user.