User Commands
Manage and view user information in your Treasure Data account.
Commands
bash
tdx user # Show current user info
tdx user list # List all users in account
tdx users # Alias for user listShow Current User
Display information about the currently authenticated user:
bash
tdx userOutput:
┌───────────────┬──────────────────────┐
│ id │ 12345 │
│ name │ John Doe │
│ email │ john@example.com │
│ administrator │ true │
│ created_at │ 2024-01-15T10:30:00Z │
│ ... │ │
└───────────────┴──────────────────────┘Use --table for horizontal table layout:
bash
tdx user --tableList All Users
List all users in the account:
bash
tdx user list
# or
tdx usersOutput:
✔ Found 2 users
┌───────┬────────────┬──────────────────┬───────────────┐
│ id │ name │ email │ administrator │
│ int │ string │ string │ boolean │
├───────┼────────────┼──────────────────┼───────────────┤
│ 12345 │ John Doe │ john@example.com │ true │
│ 12346 │ Jane Smith │ jane@example.com │ false │
├───────┴────────────┴──────────────────┴───────────────┤
│ 2 rows │
└───────────────────────────────────────────────────────┘Examples
bash
# Show current user
tdx user
# Show current user as JSON
tdx user --json
# List all users
tdx users
# List users as JSON (for scripting)
tdx users --json
# List users with specific site
tdx users --site jp01