public boolean canDelete ( ) { final IdStrategy strategy = idStrategy ( ) ; return hasPermission ( Jenkins . ADMINISTER ) && ! strategy . equals ( id , Jenkins . getAuthentication ( ) . getName ( ) ) && UserIdMapper . getInstance ( ) . isMapped ( id ) ; }
With ADMINISTER permission can delete users with persisted data but can t delete self .