CFPreferencesCopyKeyList(_:_:_:)
Constructs and returns the list of all keys set in the specified domain.
Declaration
func CFPreferencesCopyKeyList(_ applicationID: CFString, _ userName: CFString, _ hostName: CFString) -> CFArray?Parameters
- applicationID:
The ID of the application whose preferences to search. Takes the form of a Java package name,
com.foosoft. - 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 keys. Ownership follows the The Create Rule.