---
title: "UsersByUsername (Discourse)"
description: "\u30E6\u30FC\u30B6\u30FC\u540D\u5225\u30E6\u30FC\u30B6\u30FC\u4E00\u89A7"
language: ja
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/ja/datamodels/discourse/Discourse.Users.UsersByUsername
original: https://documentation.invantive.eu/en/datamodels/discourse/Discourse.Users.UsersByUsername
updated: 2026-12-04T16:24:44Z
license: https://documentation.invantive.eu/ja/
---

# UsersByUsername: Discourse Users by Username

`read only` `REST`

- カタログ：`Discourse`
- スキーマ: `Users`
- Label: Users by Username

Get a single user by username

データの取得のみ可能です。

## 概要

Get a single user by username

## APIソース

- エンドポイント: `/users/{username}.json`
- 作戦名：`get /users/{username}.json`

## 性能特性

| 特徴 | 値 |
|---|---:|
| 平均アクセス遅延（ms） | 243 |
| 書き込みの毎分行数 | 219 |

結果はクライアント側でキャッシュすることができます。

## パラメータ

| 名前 | データ型 | 必須 | デフォルト | ドキュメント |
|---|---|:---:|---|---|
| `username` | `` | [x] |  |  |

## 表の列

テーブル `UsersByUsername` の列は以下のとおりです。 各列には、SQLのデータ型が設定されています。 INSERT文およびUPDATE文の実行中は、常にすべての必須列に対して、null以外の新しい値を指定する必要があります。

| 名前 | データ型 | ラベル | 必須 | マーク | ドキュメント |
|---|---|---|:---:|---|---|
| `user_admin` | `char` | ユーザー管理 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.admin` |  |
| `user_avatar_template` | `varchar2` | ユーザーアバターテンプレート | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.avatar_template` |  |
| `user_badge_count` | `decimal` | ユーザーバッジ数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.badge_count` |  |
| `user_can_be_deleted` | `char` | ユーザーを削除できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_be_deleted` |  |
| `user_can_change_bio` | `char` | ユーザーは自己紹介文を変更できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_change_bio` |  |
| `user_can_change_location` | `char` | ユーザーは場所を変更できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_change_location` |  |
| `user_can_change_website` | `char` | ユーザーはウェブサイトを変更できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_change_website` |  |
| `user_can_delete_all_posts` | `char` | ユーザーはすべての投稿を削除できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_delete_all_posts` |  |
| `user_can_edit` | `char` | ユーザーが編集可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_edit` |  |
| `user_can_edit_email` | `char` | ユーザーはメールアドレスを編集できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_edit_email` |  |
| `user_can_edit_name` | `char` | ユーザーは名前を編集できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_edit_name` |  |
| `user_can_edit_username` | `char` | ユーザーはユーザー名を編集できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_edit_username` |  |
| `user_can_ignore_user` | `char` | ユーザーは他のユーザーを無視できる | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_ignore_user` |  |
| `user_can_mute_user` | `char` | ユーザーは他のユーザーをミュートできる | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_mute_user` |  |
| `user_can_send_private_message_to_user` | `char` | ユーザーは他のユーザーにプライベートメッセージを送信できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_send_private_message_to_user` |  |
| `user_can_send_private_messages` | `char` | ユーザーはプライベートメッセージを送信できます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_send_private_messages` |  |
| `user_can_upload_profile_header` | `char` | ユーザーがプロフィールヘッダーをアップロード可能 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_upload_profile_header` |  |
| `user_can_upload_user_card_background` | `char` | ユーザーはユーザーカードの背景画像をアップロードできます | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.can_upload_user_card_background` |  |
| `user_card_badge` | `varchar2` | itgen_dce_user_card_badge | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_created_at` | `varchar2` | ユーザー作成日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.created_at` |  |
| `user_custom_fields` | `varchar2` | itgen_dce_user_custom_fields | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_email` | `varchar2` | itgen_dce_user_email | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.email` |  |
| `user_gravatar_avatar_template` | `varchar2` | itgen_dce_user_gravatar_avatar_template | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.gravatar_avatar_template` |  |
| `user_gravatar_avatar_upload_id` | `int32` | itgen_dce_user_gravatar_avatar_upload_id | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.gravatar_avatar_upload_id` |  |
| `user_has_title_badges` | `char` | ユーザーにタイトルバッジが付いています | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.has_title_badges` |  |
| `user_id` | `decimal` | ユーザーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.id` |  |
| `user_ignored` | `char` | ユーザーを無視しました | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.ignored` |  |
| `user_invited_by` | `varchar2` | 招待者： | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_last_posted_at` | `varchar2` | ユーザーの最終投稿日時： | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.last_posted_at` |  |
| `user_last_seen_at` | `varchar2` | ユーザーの最終アクセス時刻： | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.last_seen_at` |  |
| `user_mailing_list_posts_per_day` | `int32` | ユーザーごとの1日あたりのメーリングリストへの投稿数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.mailing_list_posts_per_day` |  |
| `user_moderator` | `char` | ユーザー・モデレーター | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.moderator` |  |
| `user_muted` | `char` | ユーザーの音声がミュートされました | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.muted` |  |
| `user_name` | `varchar2` | ユーザー名 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_pending_count` | `decimal` | ユーザー保留件数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.pending_count` |  |
| `user_post_count` | `int32` | ユーザーの投稿数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.post_count` |  |
| `user_primary_group_flair_bg_color` | `varchar2` | itgen_dce_user_primary_group_flair_bg_color | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_primary_group_flair_color` | `varchar2` | itgen_dce_user_primary_group_flair_color | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_primary_group_flair_url` | `varchar2` | itgen_dce_user_primary_group_flair_url | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_primary_group_name` | `varchar2` | ユーザーのプライマリグループ名 | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_profile_view_count` | `decimal` | ユーザープロフィールのView数 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.profile_view_count` |  |
| `user_recent_time_read` | `int32` | ユーザーの直近の閲覧日時 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.recent_time_read` |  |
| `user_second_factor_backup_enabled` | `char` | ユーザーの2要素認証のバックアップが有効になっています | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.second_factor_backup_enabled` |  |
| `user_second_factor_enabled` | `char` | ユーザーの2段階認証が有効になっています | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.second_factor_enabled` |  |
| `user_staged` | `char` | ユーザーによる段階的実施 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.staged` |  |
| `user_system_avatar_template` | `varchar2` | ユーザーシステムのアバターテンプレート | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.system_avatar_template` |  |
| `user_time_read` | `int32` | 読了時間（ユーザー） | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.time_read` |  |
| `user_title` | `varchar2` | ユーザーのタイトル | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_trust_level` | `decimal` | ユーザーの信頼レベル | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.trust_level` |  |
| `user_uploaded_avatar_id` | `varchar2` | ユーザーがアップロードしたアバターID | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |
| `user_use_logo_small_as_avatar` | `char` | ユーザーが「ロゴ（小）」をアバターとして使用する | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.use_logo_small_as_avatar` |  |
| `user_user_notification_schedule_day_0_end_time` | `int32` | ユーザー ユーザー通知スケジュール 0日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_0_end_time` |  |
| `user_user_notification_schedule_day_0_start_time` | `int32` | ユーザー ユーザー通知スケジュール 0日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_0_start_time` |  |
| `user_user_notification_schedule_day_1_end_time` | `int32` | ユーザー ユーザー通知スケジュール 1日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_1_end_time` |  |
| `user_user_notification_schedule_day_1_start_time` | `int32` | ユーザー ユーザー通知スケジュール 1日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_1_start_time` |  |
| `user_user_notification_schedule_day_2_end_time` | `int32` | ユーザー ユーザー通知スケジュール 2日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_2_end_time` |  |
| `user_user_notification_schedule_day_2_start_time` | `int32` | ユーザー ユーザー通知スケジュール 2日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_2_start_time` |  |
| `user_user_notification_schedule_day_3_end_time` | `int32` | ユーザー ユーザー通知スケジュール 3日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_3_end_time` |  |
| `user_user_notification_schedule_day_3_start_time` | `int32` | ユーザー ユーザー通知スケジュール 3日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_3_start_time` |  |
| `user_user_notification_schedule_day_4_end_time` | `int32` | ユーザー ユーザー通知スケジュール 4日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_4_end_time` |  |
| `user_user_notification_schedule_day_4_start_time` | `int32` | ユーザー ユーザー通知スケジュール 4日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_4_start_time` |  |
| `user_user_notification_schedule_day_5_end_time` | `int32` | ユーザー ユーザー通知スケジュール 5日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_5_end_time` |  |
| `user_user_notification_schedule_day_5_start_time` | `int32` | ユーザー ユーザー通知スケジュール 5日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_5_start_time` |  |
| `user_user_notification_schedule_day_6_end_time` | `int32` | ユーザー ユーザー通知スケジュール 6日目 終了時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_6_end_time` |  |
| `user_user_notification_schedule_day_6_start_time` | `int32` | ユーザー ユーザー通知スケジュール 6日目 開始時刻 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.day_6_start_time` |  |
| `user_user_notification_schedule_enabled` | `char` | ユーザー通知スケジュールが有効になっています | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_notification_schedule.enabled` |  |
| `user_user_option_allow_private_messages` | `char` | ユーザー ユーザー設定 プライベートメッセージを許可する | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.allow_private_messages` |  |
| `user_user_option_auto_track_topics_after_msecs` | `int32` | ユーザー ユーザー設定 トピックの自動追跡 ミリ秒後 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.auto_track_topics_after_msecs` |  |
| `user_user_option_automatically_unpin_topics` | `char` | ユーザー ユーザー設定 トピックのピン留めを自動的に解除する | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.automatically_unpin_topics` |  |
| `user_user_option_digest_after_minutes` | `int32` | ユーザー ユーザーオプション ダイジェスト 数分後 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.digest_after_minutes` |  |
| `user_user_option_dynamic_favicon` | `char` | ユーザー ユーザーオプション 動的ファビコン | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.dynamic_favicon` |  |
| `user_user_option_email_digests` | `char` | ユーザー ユーザー設定 メールダイジェスト | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.email_digests` |  |
| `user_user_option_email_in_reply_to` | `char` | ユーザー ユーザー設定 「返信先」のメールアドレス | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.email_in_reply_to` |  |
| `user_user_option_email_level` | `int32` | ユーザー ユーザー設定 メール レベル | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.email_level` |  |
| `user_user_option_email_messages_level` | `int32` | ユーザー ユーザー設定 電子メール メッセージ レベル | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.email_messages_level` |  |
| `user_user_option_email_previous_replies` | `int32` | ユーザー ユーザー設定 メールアドレス 過去の返信 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.email_previous_replies` |  |
| `user_user_option_enable_allowed_pm_users` | `char` | ユーザー ユーザー設定 許可されたPMユーザーを有効にする | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.enable_allowed_pm_users` |  |
| `user_user_option_enable_defer` | `char` | itgen_dce_user_user_option_enable_defer | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.enable_defer` |  |
| `user_user_option_enable_quoting` | `char` | ユーザー ユーザー設定 引用を有効にする | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.enable_quoting` |  |
| `user_user_option_external_links_in_new_tab` | `char` | ユーザー ユーザー設定 新しいタブでの外部リンク | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.external_links_in_new_tab` |  |
| `user_user_option_hide_profile_and_presence` | `char` | ユーザー ユーザー設定 プロフィールとオンライン状態を非表示にする | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.hide_profile_and_presence` |  |
| `user_user_option_include_tl0_in_digests` | `char` | ユーザー ユーザー設定 ダイジェストにTL0を含める | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.include_tl0_in_digests` |  |
| `user_user_option_like_notification_frequency` | `int32` | ユーザー ユーザー設定 「いいね」通知の頻度 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.like_notification_frequency` |  |
| `user_user_option_mailing_list_mode` | `char` | ユーザー ユーザーオプション メーリングリストモード | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.mailing_list_mode` |  |
| `user_user_option_mailing_list_mode_frequency` | `int32` | ユーザー ユーザー設定 メーリングリスト モード 配信頻度 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.mailing_list_mode_frequency` |  |
| `user_user_option_new_topic_duration_minutes` | `int32` | ユーザー ユーザー設定 新規トピック 有効期間 分 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.new_topic_duration_minutes` |  |
| `user_user_option_notification_level_when_replying` | `int32` | ユーザー ユーザー設定 返信時の通知レベル | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.notification_level_when_replying` |  |
| `user_user_option_skip_new_user_tips` | `char` | ユーザー ユーザー設定 新規ユーザー向けヒントをスキップ | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.skip_new_user_tips` |  |
| `user_user_option_text_size` | `varchar2` | ユーザー ユーザー設定 文字サイズ | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.text_size` |  |
| `user_user_option_text_size_seq` | `int32` | ユーザー ユーザーオプション 文字サイズ シーケンス | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.text_size_seq` |  |
| `user_user_option_theme_key_seq` | `int32` | ユーザー ユーザーオプション テーマ キーシーケンス | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.theme_key_seq` |  |
| `user_user_option_title_count_mode` | `varchar2` | ユーザー ユーザーオプション タイトル 件数 モード | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.title_count_mode` |  |
| `user_user_option_user_id` | `int32` | ユーザー ユーザーオプション ユーザーID | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.user_option.user_id` |  |
| `user_username` | `varchar2` | ユーザー名 | [ ] | プラットフォーム上のフィルター、書き込み可能、`user.username` |  |
| `user_website_name` | `varchar2` | itgen_dce_user_website_name | [ ] | writable | ネストされたオブジェクトの JSON テキスト。 |


## リリース情報

各リリースごとに、ドライバのテーブル、列、属性、および機能にどのような変更があったか：

- [Discourse](/ja/release-notes/drivers/discourse)

### このテーブルの変更点、26.0 ～ 27.0

<div class="rn-item" id="DCE-27.0-D042">

##### Table function Discourse.Users.UsersByUsername is removed

A statement that reads Discourse.Users.UsersByUsername fails after the upgrade. It had 95 columns. The operation is not in the updated Discourse specification, or has another name.

<div class="rn-action">

**どうすればいいか**

Check statements, views and scripts that use it before the upgrade.

</div>

<div class="rn-chips">

- **文を中断させることができる**
- 重要性 5

</div>

</div>

[ドライバーの変更はすべて、26.0 ～ 27.0](/ja/release-notes/drivers/discourse?step=26.0-to-27.0#discourse-26.0-to-27.0)
