How do I remove a user who has content created

お困りですか?

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

コミュニティに質問

This is an old article and it is only valid for versions of Confluence prior 5.2.

目的

Confluence doesn't allow the removal of user who has created any content. The standard method for removal is described in Removing a User. If you want to delete the content as well, the SQL is described below.

ソリューション

Locate the content created by the user using the queries:

   SELECT * FROM CONTENT WHERE contenttype = 'COMMENT' and creator = '<Username that you wish to remove>'

および

   SELECT * FROM CONTENT WHERE contentid IN (
   SELECT DISTINCT pageid FROM CONTENT WHERE contenttype = 'COMMENT' and creator = '<Username that you wish to remove>')

データベースの変更を行う場合は必ず事前にバックアップを取得してください。可能な場合は、まずステージング サーバーで SQL コマンドの変更、挿入、更新、または削除を行うようにします。

Run the same DELETE commands after verifying the content is indeed content you wish to delete. 

最終更新日: 2016 年 2 月 26 日

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

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