private Request createUserPrivilegeRequest() {
    Set<String> propertyIds = new HashSet<>();
    propertyIds.add(UserPrivilegeResourceProvider.PRIVILEGE_ID);
    propertyIds.add(UserPrivilegeResourceProvider.PERMISSION_NAME);
    propertyIds.add(UserPrivilegeResourceProvider.TYPE);
    propertyIds.add(UserPrivilegeResourceProvider.CLUSTER_NAME);
    propertyIds.add(UserPrivilegeResourceProvider.VIEW_NAME);
    propertyIds.add(UserPrivilegeResourceProvider.VIEW_VERSION);
    propertyIds.add(UserPrivilegeResourceProvider.INSTANCE_NAME);

    return new RequestImpl(propertyIds, null, null, null);
  }
Create a request to use to query for the user's set of privileges

@return a request
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UserAuthorizationResourceProvider.java