File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131import org .labkey .remoteapi .SimplePostCommand ;
3232import org .labkey .remoteapi .security .CreateUserCommand ;
3333import org .labkey .remoteapi .security .CreateUserResponse ;
34- import org .labkey .remoteapi .security .DeleteUserCommand ;
3534import org .labkey .remoteapi .security .GetUsersCommand ;
3635import org .labkey .remoteapi .security .GetUsersResponse ;
3736import org .labkey .remoteapi .security .GetUsersResponse .UserInfo ;
5857public class APIUserHelper extends AbstractUserHelper
5958{
6059 private final Supplier <Connection > connectionSupplier ;
60+
6161 public APIUserHelper (Supplier <Connection > connectionSupplier )
6262 {
6363 super (null );
@@ -223,19 +223,6 @@ protected void _deleteUser(String userEmail)
223223 deleteUsers (false , userEmail );
224224 }
225225
226- private void deleteUser (@ NotNull Integer userId )
227- {
228- DeleteUserCommand command = new DeleteUserCommand (userId );
229- try
230- {
231- command .execute (connectionSupplier .get (), "/" );
232- }
233- catch (IOException |CommandException e )
234- {
235- throw new RuntimeException (e );
236- }
237- }
238-
239226 @ Override
240227 protected void _deleteUsers (boolean failIfNotFound , String ... userEmails )
241228 {
You can’t perform that action at this time.
0 commit comments