Skip to main content

mr user list

Show all user accounts with their id, username, role, scope group, and disabled state. Password hashes are never returned. Pagination is --offset and --limit; the global --page flag does not apply to this command.

Usage

mr user list

Examples

List all users

mr user list

As raw JSON

mr user list --json

Flags

FlagTypeDefaultDescription
--offsetint0Number of users to skip
--limitint0Maximum users to return (0 = no limit)

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)