print a particular list of users

Hi,

i've a sql query that returns me 3-4 username from users_entity table.

i would print, for a widget, an users list in the style of square with image profile inside and name (as for example the result of find_active_users function).

i've seen elgg_view_entity function but it want as $objects parameter the array of elgguser object while i've only username.

does exist any function that can help me?