Answer the question
In order to leave comments, you need to log in
How to convert CDBResult object to CUser?
Hello!
I need to get his full name by user id in Bitrix.
I get an array of user data with the following API request
$rsUser = CUser::GetByID($user_id);
$arUser = $rsUser->Fetch();
Answer the question
In order to leave comments, you need to log in
GetFullName returns the name of the current user, you can use bxapi.ru/src/?module_id=main&name=CUser::FormatName
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question