Return-Path: X-Original-To: apmail-syncope-dev-archive@www.apache.org Delivered-To: apmail-syncope-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4D14B17579 for ; Tue, 17 Nov 2015 09:32:11 +0000 (UTC) Received: (qmail 85644 invoked by uid 500); 17 Nov 2015 09:32:11 -0000 Delivered-To: apmail-syncope-dev-archive@syncope.apache.org Received: (qmail 85572 invoked by uid 500); 17 Nov 2015 09:32:11 -0000 Mailing-List: contact dev-help@syncope.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@syncope.apache.org Delivered-To: mailing list dev@syncope.apache.org Received: (qmail 85548 invoked by uid 99); 17 Nov 2015 09:32:11 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Nov 2015 09:32:11 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 0B47E2C1F51 for ; Tue, 17 Nov 2015 09:32:11 +0000 (UTC) Date: Tue, 17 Nov 2015 09:32:11 +0000 (UTC) From: "Massimiliano Perrone (JIRA)" To: dev@syncope.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (SYNCOPE-728) Delete all users MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/SYNCOPE-728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15008365#comment-15008365 ] Massimiliano Perrone commented on SYNCOPE-728: ---------------------------------------------- [~ilgrosso] I'm following your suggestions. >From linked documentation: Rather then deleting all users, a restricting search condition can be used by replacing line 10 with: final String fiql = SyncopeClient.getUserSearchConditionBuilder().is("id").lessThan(150).query(); Why less than 150? What's the id 150? > Delete all users > ---------------- > > Key: SYNCOPE-728 > URL: https://issues.apache.org/jira/browse/SYNCOPE-728 > Project: Syncope > Issue Type: Sub-task > Components: cli > Reporter: Massimiliano Perrone > Assignee: Massimiliano Perrone > Fix For: 2.0.0 > > > Create a method to delete all users. > This method, after a new authentication, will delete all users managed by Syncope. This, for instance, will be very helpful during test phase. -- This message was sent by Atlassian JIRA (v6.3.4#6332)