@ApiModelProperty(name = PrivilegeResourceProvider.PRINCIPAL_TYPE_PROPERTY_ID)
  public PrincipalType getPrincipalType() {
    return principalType;
  }
Returns principal type
@return principal type
ambari-server/src/main/java/org/apache/ambari/server/controller/PrivilegeResponse.java