grommunio-admin-exmdb
Name
grommunio-admin exmdb — User or domain store management
Synopsis
Description
Subcommand to access and modify a domain's or user's store via exmdb protocol.
Commands
Folder subcommand
createCreate a new folder
deleteDelete folder by ID or name.
findFind folders with given name
grantGrant permissions on this folder to a user
listList subfolders of a folder. If no folder ID is specified, list subfolders of root folder.
revokeRevoke permissions on this folder from a user. If not permission is specified, revoke all permissions.
Store subcommand
deleteDelete properties
getGet store properties
setSet store properties
Options
IDID of the folder
FOLDERSPECID or name of the folder
NAMEName of the folder
PARENTIDID of the parent folder
PERMISSIONName or numeric value of the permission
PROPSPECName or numeric value of the property
TARGETName of the domain or e-mail address of the user
USERNAMEE-Mail address of a user
-a,--allDo not stop if target is ambiguous but apply to all.
--clearDelete folder contents. Required for non-empty folders.
--comment COMMENTFolder comment
-f,--forceGrant permissions to non-existing user
--format FORMATOutput format. Can be one of csv, json-flat, json-kv, json-object, json-structured and pretty. Default is pretty.
-r,--recursiveApply recursively to subfolders
--separator SEPARATORString to use for column separation (csv and pretty only). Must have length 1 if format is csv. Default is "," for csv and " " for pretty.
-t TYPE,--type TYPECONTAINERCLASS property, defaults to "IPF.Note"
-x,--exactOnly match exact folder names instead of case-insensitive substrings
Notes
Folder IDs and permissions can be given in decimal, hexadecimal (0x-prefix), octal (0-prefix) or binary (0b-prefix).
Currently, the permission value echoed by the grant and revoke commands is the one sent to the server and might differ from the value actually assigned.
The create, find and list commands operate on the IPMSUBTREE folders (0x9 for users, 0x2 for domains) by default, which can be overridden by the ID parameter.
See Also
grommunio-admin, grommunio-admin-domain, grommunio-admin-service, grommunio-admin-user