getUsersInfoWithHttpInfo method

Future<Response> getUsersInfoWithHttpInfo(
  1. String tenantId,
  2. String ids
)

Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).

Note: This method returns the HTTP Response.

Parameters:

  • String tenantId (required):

  • String ids (required): Comma-delimited userIds.

Implementation

Future<Response> getUsersInfoWithHttpInfo(String tenantId, String ids,) async {
  // ignore: prefer_const_declarations
  final path = r'/pages/{tenantId}/users/info'
    .replaceAll('{tenantId}', tenantId);

  // ignore: prefer_final_locals
  Object? postBody;

  final queryParams = <QueryParam>[];
  final headerParams = <String, String>{};
  final formParams = <String, String>{};

    queryParams.addAll(_queryParams('', 'ids', ids));

  const contentTypes = <String>[];


  return apiClient.invokeAPI(
    path,
    'GET',
    queryParams,
    postBody,
    headerParams,
    formParams,
    contentTypes.isEmpty ? null : contentTypes.first,
  );
}