@Transactional
  public void removeByPK(Integer userPK) {
    remove(findByPK(userPK));
  }
Find the user entity for the given admin principal entity.

@param principal the principal entity
@return the matching user entity
ambari-server/src/main/java/org/apache/ambari/server/orm/dao/UserDAO.java