Skip to main content

mr user get

Fetch one user account by its numeric id and print its details. Useful before an update to confirm the current role and scope.

Usage

mr user get <id>

Positional arguments:

  • <id>

Examples

Show user 4

mr user get 4

As raw JSON

mr user get 4 --json

Flags

This command has no local flags.

Inherited global flags

FlagTypeDefaultDescription
--jsonboolfalseOutput raw JSON
--no-headerboolfalseOmit table headers
--pageint1Page number for list commands (default page size: 50)
--quietboolfalseOnly output IDs
--serverstringhttp://localhost:8181mahresources server URL (env: MAHRESOURCES_URL)

Exit Codes

0 success; 1 error (not authenticated, insufficient role, validation error, or user not found)