Specifications
Chapter 8 Managing User and Group Accounts 119
Syntax
These command extensions have the following syntax:
-mcxread
recordPath
[-v
mcxVersion
]
[-o
filePath
] [-format {xml | plist | text}] [
appDomain
[
keyName
]]
-mcxset
recordPath
[-v
mcxVersion
]
appDomain
keyName
[
mcxDomain
[
keyValue
[
UPK
]]]
-mcxedit
recordPath
[-v
mcxVersion
]
appDomain
keyPath
[
keyValue
]
-mcxdelete
recordPath
[-v
mcxVersion
] [
appDomain
[
keyName
]]
-mcxexport
recordPath
[-o
filePath
] [-format {xml | plist | text}]
[
appDomain
[
keyName
]]
-mcximport
recordPath
[-d]
filePath
-mcxhelp
-mcxdelete
Removes management for the specified MCX preference keys.
-mcxexport Same functionality as the -mcxread command, but stores the output in the
specified file using the specified format. The resulting file can later be imported
using the
-mcximport command.
-mcximport Imports the keys and values previously exported using the
-mcxexport command.
-mcxhelp Displays help information for MCX extensions.
Extension Description
Parameter Description
recordPath
The record in the service directory node to be accessed (for example, /LDAPv3/
127.0.0.1/Users/sam
).
This parameter is always required, but if you are in interactive mode, you can use a
period to represent the current directory.
mcxVersion
The version of the key to be retrieved. If you omit this parameter, the command
searches for version 1 keys.
-format
The format of the output file (XML, plist, or text).
optArgs
(Optional) One or more options.
appDomain
(Optional) An application’s domain. For example, the application domain for the
Dock is
com.apple.dock.
keyName
(Optional) The name of the managed preference (for example,
familyControlsEnabled, mcx_emailAddress, and
mcx_defaultWebBrowser).
mcxDomain
(Optional) The type of management applied to the key. Legal values are:
Â
none (not managed)
Â
always
Â
once
Â
often
Â
unset