Find users by created date rather than last authenticated date
プラットフォームについて: Data Center のみ。 - This article only applies to Atlassian apps on the Data Center プラットフォーム。
この KB は Data Center バージョンの製品用に作成されています。Data Center 固有ではない機能の Data Center KB は、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。 Server* 製品のサポートは 2024 年 2 月 15 日に終了しました。Server 製品を実行している場合は、 アトラシアン Server サポート終了 のお知らせにアクセスして、移行オプションを確認してください。
*Fisheye および Crucible は除く
要約
When looking for users (possibly in the case to remove some to free up licenses), the /admin/users endpoint only provides a last authenticated date and doesn't mention when the user was originally created.
環境
Bitbucket Server
ソリューション
The following DB query can be run against your database to get users based on the created date. Note: This does not state if those users consume a license or any other information.
For PSQL
SELECT * FROM cwd_user WHERE CAST(created_date AS Date) >= 'YYYY-MM-DD'Oracle の場合
SELECT * FROM cwd_user WHERE CAST(created_date AS Date) >= 'DD-MM-YYYY';この内容はお役に立ちましたか?