{"templateId":"markdown","sharedDataIds":{"sidebar":"sidebar-sidebars.yaml"},"props":{"metadata":{"markdoc":{"tagList":[]},"redocly_category":"Treasure Code","product_name":"Treasure Code","type":"markdown"},"seo":{"title":"tdx user - User Management | Treasure Data","description":"View and manage users in your Treasure Data account. List users and view account information.","siteUrl":"https://docs.treasuredata.com","lang":"en-US","llmstxt":{"hide":false,"sections":[{"title":"Table of contents","includeFiles":["**/*"],"excludeFiles":[]}],"excludeFiles":[]},"image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"},"dynamicMarkdocComponents":[],"compilationErrors":[],"ast":{"$$mdtype":"Tag","name":"article","attributes":{},"children":[{"$$mdtype":"Tag","name":"Heading","attributes":{"level":1,"id":"user-commands","__idx":0},"children":["User Commands"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Manage and view user information in your Treasure AI account."]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"commands","__idx":1},"children":["Commands"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx user                    # Show current user info\ntdx user list               # List all users in account\ntdx users                   # Alias for user list\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"show-current-user","__idx":2},"children":["Show Current User"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Display information about the currently authenticated user:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx user\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"┌───────────────┬──────────────────────┐\n│ id            │ 12345                │\n│ name          │ John Doe             │\n│ email         │ john@example.com     │\n│ administrator │ true                 │\n│ created_at    │ 2024-01-15T10:30:00Z │\n│ ...           │                      │\n└───────────────┴──────────────────────┘\n"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["Use ",{"$$mdtype":"Tag","name":"code","attributes":{},"children":["--table"]}," for horizontal table layout:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx user --table\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"list-all-users","__idx":3},"children":["List All Users"]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":["List all users in the account:"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"tdx user list\n# or\ntdx users\n","lang":"bash"},"children":[]},{"$$mdtype":"Tag","name":"p","attributes":{},"children":[{"$$mdtype":"Tag","name":"strong","attributes":{},"children":["Output:"]}]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"header":{"controls":{"copy":{}}},"source":"✔ Found 2 users\n┌───────┬────────────┬──────────────────┬───────────────┐\n│  id   │    name    │      email       │ administrator │\n│  int  │   string   │      string      │    boolean    │\n├───────┼────────────┼──────────────────┼───────────────┤\n│ 12345 │ John Doe   │ john@example.com │ true          │\n│ 12346 │ Jane Smith │ jane@example.com │ false         │\n├───────┴────────────┴──────────────────┴───────────────┤\n│ 2 rows                                                │\n└───────────────────────────────────────────────────────┘\n"},"children":[]},{"$$mdtype":"Tag","name":"Heading","attributes":{"level":2,"id":"examples","__idx":4},"children":["Examples"]},{"$$mdtype":"Tag","name":"CodeBlock","attributes":{"data-language":"bash","header":{"controls":{"copy":{}}},"source":"# Show current user\ntdx user\n\n# Show current user as JSON\ntdx user --json\n\n# List all users\ntdx users\n\n# List users as JSON (for scripting)\ntdx users --json\n\n# List users with specific site\ntdx users --site jp01\n","lang":"bash"},"children":[]}]},"headings":[{"value":"User Commands","id":"user-commands","depth":1},{"value":"Commands","id":"commands","depth":2},{"value":"Show Current User","id":"show-current-user","depth":2},{"value":"List All Users","id":"list-all-users","depth":2},{"value":"Examples","id":"examples","depth":2}],"frontmatter":{"seo":{"title":"tdx user - User Management | Treasure Data","description":"View and manage users in your Treasure Data account. List users and view account information.","image":"/assets/og-image.ba836864a30434f560a4f7720f8a09019ad30ff828b20c5052ae933ba7121524.d7ef4821.png"}},"lastModified":"2026-05-18T01:25:54.000Z","pagePropGetterError":{"message":"","name":""}},"slug":"/treasure-code/commands/user","userData":{"isAuthenticated":false,"teams":["anonymous"]},"isPublic":true}