Find users by created date rather than last authenticated date

お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server および Data Center のみ。この記事は、Server および Data Center プラットフォームのアトラシアン製品にのみ適用されます。

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*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';



最終更新日 2022 年 6 月 28 日

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.