$user_id = 123; $user = CUser::Load($user_id); // Do something with the user object...
$user_ids = array(123, 456, 789); $users = array(); foreach ($user_ids as $user_id) { $users[] = CUser::Load($user_id); } // Do something with the users array...Package Library: The CUser load function is part of the Bitrix24 package library, which is a collection of PHP classes and functions for building web applications. Bitrix24 is a web-based platform for businesses that offers a range of tools for managing and automating business processes. The package library includes functions for working with users, managing data, and integrating with third-party services.