Skip to content

Users

The users command (alias u) manages Redmine users. All write operations require admin privileges; non-admin self-service lives under my-account.

Terminal window
redmine users list [flags]
FlagDescription
--statusFilter by status: active, registered, locked
--nameFilter by name or login
--groupFilter by group name or ID
--limitMaximum number of results
--offsetResult offset for pagination
-o, --outputOutput format
Terminal window
redmine users get <id-or-name> [flags]

Aliases: show, view. Accepts a numeric ID, login, full name, or me.

FlagDescription
--includeInclude related data: memberships, groups (repeatable or comma-separated). groups requires Redmine 2.1+.
-o, --outputOutput format
Terminal window
redmine users me [flags]

Shows the authenticated user’s details — useful in scripts to resolve the current account.

FlagDescription
--includeInclude related data: memberships, groups (repeatable or comma-separated).
-o, --outputOutput format
Terminal window
redmine users create [flags]
FlagDescription
--loginLogin name — required
--passwordPassword — required unless --generate-password is set
--firstnameFirst name — required
--lastnameLast name — required
--mailEmail address — required
--adminGrant admin privileges
--mail-notificationEmail notification preference: all, only_my_events, only_assigned, only_owner, none
--must-change-passwdForce the user to change their password on next login
--generate-passwordLet the server generate a random password (omit --password)
--auth-source-idNumeric authentication source ID for external auth
--send-informationEmail the account info to the new user
Terminal window
redmine users update <id-or-name> [flags]

Accepts the same flags as create (all optional, except --send-information which is create-only). The user argument accepts a numeric ID, login, full name, or me. Only fields whose flags are explicitly set are sent to the server, so partial updates do not clobber other fields.

destructive
Terminal window
redmine users delete <id-or-name> [flags]
FlagDescription
-f, --forceSkip confirmation prompt