3.6.0 Matrix Server Command Reference (5697-7083, December 2007)

Chapter 3: mx Commands 101
Copyright © 1999-2007 PolyServe, Inc. All rights reserved.
The optional arguments are the same as mx quota unsetuser, with the
exception that the --memberof argument is not used.
mx role – role management commands
Use the following mx role commands to manage roles.
deleteDelete a cluster role
mx role delete <role>
This command deletes a role from the matrix. Accounts belonging to the role
will automatically lose their membership.
disable—Disable a cluster role
mx role disable <role>
This command disables a role. Disabling a role can be a temporary way to
remove all members from the role.
enable—Enable a cluster role
mx role enable <role>
This command enables a previously disabled role.
export—Export role definitions to a file
mx role export [--permissionOnly] <file>
This command exports role definitions to a file. The definitions can then be
reimported to the matrix at a later time or imported to another matrix. The
--permissionOnly option omits the list of role members from the export.
Command Description
delete Delete a cluster role
disable Disable a cluster role
enable Enable a cluster role
export Export role definitions to a file
import Import role definitions from a file
list List cluster roles
listmembers List members of a cluster role