@Override
        public void perform(UserEntity userEntity) {
          userEntity.setActive(active);
        }
Enables/disables user.

@param userEntity the user
@param active     true if active; false if not active
@throws AmbariException if user does not exist
ambari-server/src/main/java/org/apache/ambari/server/security/authorization/Users.java