pw users ls
pw users ls
List organization users
Synopsis
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]Examples
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 trueOptions
--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)Options inherited from parent commands
--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 loggingSEE ALSO
- pw users - Manage organization users