public void deleteUser(String userId)
throws PortalException, SystemException {
if (!GetterUtil.getBoolean(PropsUtil.get(PropsUtil.USERS_DELETE))&& PropsUtil.get(PropsUtil.USERS_DELETE)!=null) {
throw new RequiredUserException();
}
User user = UserUtil.findByPrimaryKey(userId);
// Delete user's portrait