MDL-29938 get_users - search users external function