List organization users
The pw users ls command lists all users in the organization.
By default it uses the organization from your current context. Use --org to target a different organization.
pw users ls [flags] pw users ls
# List users in a specific organization
pw users ls --org my-org
# List as JSON
pw users ls -o json
# Search for a user
pw users ls --search john
# List only active users
pw users ls --active true --active string Filter by active status (all, true, false)
-h, --help help for ls
--limit int Maximum number of users to return (default 50)
--org string Target organization (defaults to current context)
-o, --output string Output format (table, json, list) (default "table")
--search string Filter by username, email, or name
--sort-by string Sort by field (username, email, lastLogin, createdAt)
--sort-dir string Sort direction (asc, desc) --context string The context to use. Overrides PW_CONTEXT environment variable and current context from config.
--platform-host string The Parallel Works ACTIVATE platform host to use. Will override any other platform host settings.
-v, --verbose Enable verbose logging