public Set<PrivilegeEntity> getPrivileges() {
    return privileges;
  }
Get the principal privileges.

@return the principal privileges
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/PrincipalEntity.java