grommunio-admin-user
Name
grommunio-admin user — User management
Synopsis
Description
Subcommand for user management.
Commands
createCreate a new user
delegateManage delegate permission
deleteDelete user
devicesUser mobile device management
listList users Deprecated. Use query instead.
loginTest user login
modifyModify a user
queryQuery user attributes
sendasManage send-as permission
showShow detailed information about a user
Options
ATTRIBUTEAttributes to query. Available attributes are ID, aliases, changePassword, chat, chatAdmin, domainID, forward, homeserverID, lang, ldapID, maildir, pop3_imap, privArchive, privChat, privFiles, privVideo, privWeb, privDav, privEas, publicAddress, smtp, status and username.
If no attributes are specified, ID, username and status are shown.
DEVICELimit command to given device ID(s)
USERNAMEE-Mail address of the user
USERSPECUser name prefix or user ID
-c,--keep-chatDeactivate but do not permanently delete chat user
--delete-chat-userPermanently delete chat user
-f FIELD=<value>,--filter FIELD=<value>Filter expression in the form of ‘field=value’. Can be specified multiple times to refine filter
--format FORMATOutput format. Can be one of csv, json-flat, json-kv, json-object, json-structured and pretty. Default is pretty.
-k,--keep-filesDo not delete user files from disk
--mode MODESpecify wipe status to set. Possible values are account and normal, or cancel to stop a pending wipe.
--no-defaultsDo not apply configured default values
--no-ldapDetach user from LDAP object
--no-maildirDo not create a mailbox for that user
--nopassSkip password check
--passwordUser password. If omitted, password is retrieved from prompt.
--remove-alias ALIASRemove ALIAS from user (can be given multiple times)
--remove-altname ALTNAMERemove ALTNAME from user (can be given multiple times)
--remove-property PROPSPECRemove property from user (can be given multiple times)
--remove-storeprop PROPSPECRemove property from user's store (can be given multiple times)
--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.
-s FIELD,--sort FIELDSort by field. Can be given multiple times
--tokenGenerate access and CSRF token on successful login
-y,--yesAssume yes instead of prompting
Fields
--changePassword <bool>Whether the user can change the password
--chat <bool>Whether to create a chat user
--chatAdmin <bool>Whether the user has chat admin privileges
--homeserver IDID of the home server or 0 for local user
--lang LANGUser store language
--ldapID LDAPIDIdentifier of the LDAP object linked to the user
--pop3-imap <bool>Whether the user has the POP3/IMAP privilege
--privArchive <bool>Whether the user has the archiving privilege
--privChat <bool>Whether the user has the chat privilege
--privFiles <bool>Whether the user has the files privilege
--privVideo <bool>Whether the user has the video privilege
--privWeb <bool>Whether the user has the web privilege
--privDav <bool>Whether the user has the DAV privilege
--privEas <bool>Whether the user has the EAS privilege
--public-address <bool>Whether the user has the public address privilege
--smtp <bool>Whether the user has the SMTP privilege
--status STATUSUser address status. Either numeric value or one of normal, suspended, deleted or shared.
--alias ALIASAdd alias
--altname ALTNAMEAdd ALTNAME to user alternative login name list (can be given multiple times)
--property propspec=valueSet property defined by propspec to value
--storeprop propspec=valueSet store property defined by propspec to value
--usernameRename user
See Also
grommunio-admin, grommunio-admin-domain, grommunio-admin-exmdb, grommunio-admin-fs, grommunio-admin-ldap, grommunio-admin-passwd, grommunio-admin-server