Get user profiles from list of user ids, from within a Theme component

Hello,

is there an easy and straight forward way to get a list of user profiles back by passing a list of user ids that I am interested in?

I am only interested in the users’ names to be honest to display those in a tooltip.

I need this for a really cool component that I am planning to provide to the community afterward.

I tried a few things but without any success:

/admin/users.json?id=1&id=2&id=3
/admin/users.json?userids[]=1,2,3

Any ideas?
Thanks

Take a look at:

Specifically:

2 Likes

Thank you Robert. This was it!

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.